Open thomashashi opened 1 week ago
Terraform version: 1.9.7 HCP provider version: 0.99.0
[...] resource "hcp_service_principal_key" "key" { service_principal = hcp_service_principal.example.resource_name rotation_triggers { rotation_time = time_rotating.key_rotation.rotation_rfc3339 } }
Blocks of type "rotation_triggers" are not expected here.
[...] resource "hcp_service_principal_key" "key" { service_principal = hcp_service_principal.example.resource_name rotate_triggers = { rotation_time = time_rotating.key_rotation.rotation_rfc3339 } }
From, FYI: https://registry.terraform.io/providers/hashicorp/hcp/latest/docs/resources/service_principal_key
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Blocks of type "rotation_triggers" are not expected here.
Correct example
Community Note