Expected Behavior
This block is applied once:
resource "github_team_settings" "team_releng_settings" {
team_id = github_team.team_releng.id
review_request_delegation {
algorithm = "ROUND_ROBIN"
member_count = 1
notify = false
}
}
Actual Behavior
In every new plan, I'm seeing this diff
# github_team_settings.team_releng_settings will be updated in-place
! resource "github_team_settings" "team_releng_settings" {
id = "T_kwDOBj62P84A8aGO"
# (3 unchanged attributes hidden)
+ review_request_delegation {
+ algorithm = "ROUND_ROBIN"
+ member_count = 1
+ notify = false
}
}
Terraform Version
Terraform 1.11.4
registry.terraform.io/integrations/github 6.10.2 (this seems to not have been an issue on 6.9.1 which we just updated from).
Affected Resource(s)
Terraform Configuration Files
resource "github_team" "team_releng" {
name = "RelEng"
description = "Release Engineering"
privacy = "closed"
}
resource "github_team_settings" "team_releng_settings" {
team_id = github_team.team_releng.id
review_request_delegation {
algorithm = "ROUND_ROBIN"
member_count = 1
notify = false
}
}
Steps to Reproduce
terraform apply
# team_releng_settings: changes successfully applied
terraform plan
# > diffs from above are present again
Debug Output
Looking directly into the state file post-apply, we see the resource there successfully. Interestingly, we have other similar resources with exactly the same config and state presence, and they do _not_ show up in the `terraform plan`
team_releng_settings
{
"mode": "managed",
"type": "github_team_settings",
"name": "team_releng_settings",
"provider": "provider[\"registry.terraform.io/integrations/github\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "T_kwDOBj62P84A8aGO",
"review_request_delegation": [
{
"algorithm": "ROUND_ROBIN",
"member_count": 1,
"notify": false
}
],
"team_id": "15835534",
"team_slug": "releng",
"team_uid": "T_kwDOBj62P84A8aGO"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"github_team.team_releng"
]
}
]
},
{
"mode": "managed",
"type": "github_team_settings",
"name": "team_sdk_settings",
"provider": "provider[\"registry.terraform.io/integrations/github\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "T_kwDOBj62P84AxH04",
"review_request_delegation": [
{
"algorithm": "ROUND_ROBIN",
"member_count": 1,
"notify": false
}
],
"team_id": "12877112",
"team_slug": "sdk",
"team_uid": "T_kwDOBj62P84AxH04"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"github_team.team_sdk"
]
}
]
}
],
"check_results": null
}
Panic Output
Code of Conduct
Expected Behavior
This block is applied once:
Actual Behavior
In every new
plan, I'm seeing this diffTerraform Version
Terraform 1.11.4
registry.terraform.io/integrations/github 6.10.2 (this seems to not have been an issue on 6.9.1 which we just updated from).
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Debug Output
Panic Output
Code of Conduct