Expected Behavior
After a org role team resource is applied, subsequent plan's should not attempt to create that resource.
Actual Behavior
subsequent plan/apply creates a new resource. The resource is not duplicated in the state.
initial apply

subsequent plan

Terraform Version
Terraform v1.14.4
on windows_amd64
- provider registry.terraform.io/integrations/github v6.11.1
Affected Resource(s)
github_organization_role_team
Terraform Configuration Files
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 6.11.1"
}
}
}
resource "github_organization_role_team" "xxx" {
role_id = 8136
team_slug = "xxx"
}
Steps to Reproduce
terraform apply
terraform plan
Debug Output
Panic Output
Code of Conduct
Expected Behavior
After a org role team resource is applied, subsequent plan's should not attempt to create that resource.
Actual Behavior
subsequent plan/apply creates a new resource. The resource is not duplicated in the state.
initial apply

subsequent plan

Terraform Version
Terraform v1.14.4
on windows_amd64
Affected Resource(s)
github_organization_role_team
Terraform Configuration Files
Steps to Reproduce
terraform apply
terraform plan
Debug Output
Panic Output
Code of Conduct