Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eventual consistency issue with github_actions_environment_variable #2378

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marcoths
Copy link

@marcoths marcoths commented Sep 4, 2024

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)
  • 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
  • No

@acouvreur
Copy link

This should fix #2387 can we have an update on this ?

This fix is straight forward and we're looking for this to be merged!

Thanks @marcoths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: RANDOMLY github_actions_variable can't be created - root object was present, but now absent
2 participants