-
Notifications
You must be signed in to change notification settings - Fork 695
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
[BUG]: github_enterprise_organization and github_organization_settings deployment conflict #2249
Comments
Hey Friends, Just asking you a question, when you use this provider to create an enterprise organization, do you use PAT token or something else? What permissions are required when using PAT token? |
Expected Behavior
No errors should occur when deploying a
github_enterprise_organization
followed bygithub_organization_settings
.Actual Behavior
When deploying both resources
github_enterprise_organization
andgithub_organization_settings
deployment in the same apply, we get the following error:This seems to be because the setting for
billing_email
is managed at the enterprise level and cannot be modified at the org level. Importing the settings and adding a lifecycle policy is a workaround after the resource has been deployed.Marking the
billing_email
field ingithub_organization_settings
as optional should resolve this issue.Terraform Version
Terraform 1.5.7
on Linux AMD64
using provider 6.2.1
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: