Closed project0 closed 1 year ago
Your current configuration looks like below :
data "grafana_oncall_team" "team" {
name = "Switch team"
}
resource "grafana_oncall_on_call_shift" "platform_oncall" {
team_id = data.grafana_oncall_team.id
....
}
Are you missing below in your config ?
team_id = data.grafana_oncall_team.**team**.id
as opposed to
team_id = data.grafana_oncall_team.id
@prajith-nair true, the example was not correct. I have updated the example.
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Force replace resources or update the team.
Actual Behavior
When updating the team id it never updates. The plan keeps changing on every run and the resource is never updated with the new team.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply