I’m developing a Terraform Provider and running into an issue: I have a required and immutable field set as Required: true + RequireReplace(), and the remote API can’t retrieve this field after creation. Creating resources directly via Terraform works fine, but when a resource is created via the console first and then imported into Terraform using an import block, if I specify the field’s actual value in the config, running terraform plan shows the resource will be replaced; if I don’t include the field in the config, it fails the plan check because the field is required.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.