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
400 Bad Request
opsgenie_service
1.5.7
locals { test = { services = [ { name = "Test 1" description = "description" tags = ["TEST-1", "TAG"] }, { name = "Test 2" description = "description" tags = ["TEST-2", "TAG"] }, ] } } resource "opsgenie_service" "test" { for_each = { for service in local.test.services : service.name => service } name = each.value.name description = each.value.description tags = each.value.tags team_id = opsgenie_team.test.id }
The scripts run successful every time.
During initial run after import a 400 bad request happens. A second run is successful.
terraform import 'opsgenie_service.test["Test 1"]' 2387A5D4-21AC-4D94-B431-7313786F66D2
terraform plan -out plan.cache
terraform apply plan.cache
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Terraform Version
1.5.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The scripts run successful every time.
Actual Behavior
During initial run after import a 400 bad request happens.
A second run is successful.
Steps to Reproduce
terraform import 'opsgenie_service.test["Test 1"]' 2387A5D4-21AC-4D94-B431-7313786F66D2
terraform plan -out plan.cache
terraform apply plan.cache
The text was updated successfully, but these errors were encountered: