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
tfe_policy_set can create vcs_repo configuration but it's not able to make changes. Plan shows changes to be made and apply says it changed resources but running plan again shows changes were not applied.
After some investigation it turns out go-tfe is not supporting updating VCSRepo nor PoliciesPath. This have to wait until is implemented in go-tfe module.
I created Issue for module go-tfe Issue 105
tfe_policy_set can create vcs_repo configuration but it's not able to make changes. Plan shows changes to be made and apply says it changed resources but running plan again shows changes were not applied.
How to reproduce:
First create policy set:
Next update let's add ingress_submodules attribute:
Possible solution:
I don't see anywhere in update section of the code to check vcs_repo changes. There is for Create and Read but for Update is missing.
https://github.com/terraform-providers/terraform-provider-tfe/blob/master/tfe/resource_tfe_policy_set.go#L227
The text was updated successfully, but these errors were encountered: