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
Error: Provider produced inconsistent result after apply
244 |
245 | When applying changes to tfe_saml_settings.okta, provider
246 | "provider[\"registry.terraform.io/hashicorp/tfe\"]" produced an unexpected
247 | new value: .idp_cert: was cty.StringVal("-----BEGIN
248 | CERTIFICATE-----<Redacted>-----END
249 | CERTIFICATE-----\n"), but now cty.StringVal("-----BEGIN
250 | CERTIFICATE-----<>Redacted-----END
251 | CERTIFICATE-----").
252 |
253 | This is a bug in the provider, which should be reported in the provider's own
254 | issue tracker.
255
The Module doesn't handle the last new line character '\n' in a file, when writing it to Terraform Enterprise it doesn't include the last /n thus will always trigger a diff or update when terraform plan/apply is run.
Terraform Enterprise version
Terraform Enterprise v202402-1
Terraform version
Terraform v1.7.5
on linux_amd64
Terraform Configuration Files
Debug Output
saml.tf
idp_saml_certificate.pem
Expected Behavior
SAML Configured with no Error
Actual Behavior
Errors out in pipeline
Additional Context
The Module doesn't handle the last new line character '\n' in a file, when writing it to Terraform Enterprise it doesn't include the last /n thus will always trigger a diff or update when terraform plan/apply is run.
Similar issue reported in #1367
Workaround: Ensure that no new line is present at the end of the file.
IE:
idp_saml_certificate.pem
The text was updated successfully, but these errors were encountered: