terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

Fix eventual consistency issue with github_actions_environment_variable

Open marcoths opened this issue 1 year ago • 1 comments

Resolves #2047


Before the change?

  • When creating github_actions_environment_variable resources, there is the chance on which the variable gets created, but the read operation fails - for example due to eventual consistency. Before this change, Terraform would issue the error
Error: Provider produced inconsistent result after apply

When applying changes to
github_actions_environment_variable.my_variable, provider
"provider[\"registry.terraform.io/integrations/github\"]" produced an
unexpected new value: Root object was present, but now absent.

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

After the change?

Pull request checklist

  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [x] Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

No breaking change

Please see our docs on breaking changes to help!

  • [ ] Yes
  • [x] No

marcoths avatar Sep 04 '24 20:09 marcoths