Refactor bucket and encryption configuration
This commit is contained in:
@@ -43,10 +43,3 @@ resource "scaleway_object_bucket_policy" "policy" {
|
||||
]
|
||||
})
|
||||
}
|
||||
|
||||
resource "scaleway_object" "encryption_key" {
|
||||
bucket = scaleway_object_bucket.infra_assets.id
|
||||
key = "keys/${replace(data.contabo_instance.microk8s.mac_address, ":", "_")}.key"
|
||||
|
||||
content_base64 = base64encode(var.encryption_key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user