Open cclaes-dsi opened 7 months ago
This has been tested by setting auto_init = false
as well, but it had the same result.
I've proposed a solution to this in my PR. I don't believe the GitHub API allows retrieving this value from an existing GitHub repository. I proposed simply persisting the provided value from the template into state as it cannot be updated on or retrieved from an existing repository.
Expected Behavior
The repository based on the template should be created and include all the branches from the template. A second apply should not change anything when there haven't been any changes.
Actual Behavior
The repository is created successfully (with all the branches), but during a second apply it will change
include_all_branches = false -> true
while it was never set to false.Terraform Version
Terraform v1.6.6 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Create a repository that is based on a template with
include_all_branches = true
, apply the resource. Apply again and it will suggest changinginclude_all_branches = false -> true
Debug Output
Panic Output
No response
Code of Conduct