Expected Behavior
Given a configuration like
resource "github_organization_role" "audit_viewer" {
name = "Audit Viewer"
description = "Access the Organization Audit Log"
base_role = "none"
permissions = [
"read_audit_logs"
]
}
it should get applied once and on subsequent plans do not cause any diff.
Actual Behavior
Terraform will perform the following actions:
# github_organization_role.audit_viewer will be updated in-place
~ resource "github_organization_role" "audit_viewer" ***
+ base_role = "none"
id = "12345"
name = "Audit Viewer"
# (3 unchanged attributes hidden)
***
Plan: 0 to add, 1 to change, 0 to destroy.
That change is applied on every subsequent run.
Terraform Version
$ terraform -v
Terraform v1.14.2
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v7.13.0
+ provider registry.terraform.io/hashicorp/googleworkspace v0.7.0
+ provider registry.terraform.io/integrations/github v6.9.0
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Run terraform apply twice or more.
Debug Output
Panic Output
Code of Conduct
Expected Behavior
Given a configuration like
it should get applied once and on subsequent plans do not cause any diff.
Actual Behavior
That change is applied on every subsequent run.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Run
terraform applytwice or more.Debug Output
Panic Output
Code of Conduct