You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
config.public_key is being allowed to be a configurable resource during terraform plan phase.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.fivetran.fivetran_connector.connector_resource["raw_nebula_content"] will be updated in-place
~ resource "fivetran_connector" "connector_resource" {
id = "XXX"
name = "YYY"
# (4 unchanged attributes hidden)
~ config {
# Warning: this attribute value will no longer be marked as sensitive
# after applying this change. The value is unchanged.
~ public_key = (sensitive value)
# (13 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
Expected behavior
public key should not be allowed here or the output message should warn.
Logs & Output
Plan:
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.fivetran.fivetran_connector.connector_resource["raw_nebula_content"] will be updated in-place
~ resource "fivetran_connector" "connector_resource" {
id = "XXX"
name = "YYY"
# (4 unchanged attributes hidden)
~ config {
# Warning: this attribute value will no longer be marked as sensitive
# after applying this change. The value is unchanged.
~ public_key = (sensitive value)
# (13 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
apply:
Error: Provider produced inconsistent result after apply
When applying changes to
module.fivetran.fivetran_connector.connector_resource["raw_nebula_content"],
provider
"module.fivetran.provider[\"registry.terraform.io/fivetran/fivetran\"]"
produced an unexpected new value: .config.public_key: inconsistent values for
sensitive attribute.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Terraform exited with code 1.
We can introduce specific validation probably, because AFAIK we have a couple services that required public_key to be editable. But the field in config schema is shared - so it can't be marked as readonly in schema.
Describe the bug
config.public_key is being allowed to be a configurable resource during terraform plan phase.
To Reproduce
Expected behavior
public key should not be allowed here or the output message should warn.
Logs & Output
Plan:
apply:
Plugin version:
1.1.22
Additional context
Previously created in #308
The text was updated successfully, but these errors were encountered: