We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please list the resources as a list, for example:
data "grafana_oncall_team" "team" { name = "Switch team" } resource "grafana_oncall_on_call_shift" "platform_oncall" { team_id = data.grafana_oncall_team.team.id .... }
Force replace resources or update the team.
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.
# grafana_oncall_schedule.platform_oncall will be updated in-place ~ resource "grafana_oncall_schedule" "platform_oncall" { id = "SLIWJS4X2UWCE" name = "Platform" + team_id = "TNW1ZIT5HWI1Y" # (4 unchanged attributes hidden) }
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered:
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
team_id = data.grafana_oncall_team.**team**.id
team_id = data.grafana_oncall_team.id
Sorry, something went wrong.
@prajith-nair true, the example was not correct. I have updated the example.
Successfully merging a pull request may close this issue.
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
The text was updated successfully, but these errors were encountered: