-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
This already happened in this issue : #1490
Terraform Version
OpenTofu v1.9.0
on windows_amd64
+ provider registry.opentofu.org/scaleway/scaleway v2.51.0
Affected Resource(s)
- scaleway_iam_api_key
Terraform Configuration Files
# IAM Application
resource "scaleway_iam_application" "app" {
name = "${var.naming_prefix}-app"
}
# IAM ApiKey
resource "scaleway_iam_api_key" "app_key" {
application_id = scaleway_iam_application.app.id
}
output "app_secret_key" {
description = "IAM App secret key"
value = scaleway_iam_api_key.app_key.secret_key
sensitive = true
}Debug Output
Panic Output
Expected Behavior
The output should be populated
Actual Behavior
If I set something in app_secret_key and then set back scaleway_iam_api_key.app_key.secret_key
here is the plan
Changes to Outputs:
- app_secret_key = (sensitive value) -> null
Steps to Reproduce
terraform apply
the app_secret_key does not exist in outputs
Important Factoids
References
- #0000
Metadata
Metadata
Assignees
Labels
No labels