This example shows how to specify an explicit set of locations to use for secret replication.
Item | Managed by Terraform | Description |
---|---|---|
Access Control | Not managed by example; permissions to read the secret must be specified externally. | |
Replication | ✓ | User specified locations will be used for replication. |
Secret Value | User specified. | |
Pub/Sub Notifications | Not managed by example. | |
TTL | Not managed by example. |
# Example TF vars file
project_id = "my-project-id"
id = "my-secret-id"
secret = "T0pS3cretP@ssword!"
replication = {
"us-east1" = null
"us-west1" = null
}