-
Notifications
You must be signed in to change notification settings - Fork 133
Labels
bugcontainerContainer issues, bugs and feature requestsContainer issues, bugs and feature requestsfunctionServerless function issues, bugs and feature requestsServerless function issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues
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
Affected Resource(s)
- scaleway_container_namespace
- scaleway_container
- scaleway_function_namespace
- scaleway_function
Terraform Configuration Files
From:
resource scaleway_container_namespace "namespace" {
secret_environment_variables = {
foo: "bar"
}
}To:
resource scaleway_container_namespace "namespace" {
secret_environment_variables = {
foo2: "bar"
}
}Expected Behavior
The first secret foo should be removed and the new secret foo2 should be created. The issue is the same when deleting the secret map.
Actual Behavior
The secret foo2 is created and the old one is not deleted
Steps to Reproduce
terraform apply
Important Factoids
The type of a Secret is:
type Secret struct {
Key string `json:"key"`
Value *string `json:"value"`
}To remove a secret, you must send the secret with a nil Value
rtorrente
Metadata
Metadata
Assignees
Labels
bugcontainerContainer issues, bugs and feature requestsContainer issues, bugs and feature requestsfunctionServerless function issues, bugs and feature requestsServerless function issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues