mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
cli: allow tagging cloud resources with custom tags (#3033)
This commit is contained in:
parent
f60c133724
commit
b187966581
27 changed files with 172 additions and 42 deletions
|
@ -40,6 +40,7 @@ module "aws" {
|
|||
debug = var.debug
|
||||
enable_snp = var.enable_snp
|
||||
custom_endpoint = var.custom_endpoint
|
||||
additional_tags = var.additional_tags
|
||||
}
|
||||
|
||||
module "constellation" {
|
||||
|
|
|
@ -70,3 +70,8 @@ variable "name_prefix" {
|
|||
type = string
|
||||
description = "Prefix for all resources."
|
||||
}
|
||||
|
||||
variable "additional_tags" {
|
||||
type = map(any)
|
||||
description = "Additional tags that should be applied to created resources."
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ module "azure" {
|
|||
debug = var.debug
|
||||
resource_group = module.azure_iam.base_resource_group
|
||||
create_maa = var.create_maa
|
||||
additional_tags = var.additional_tags
|
||||
}
|
||||
|
||||
module "constellation" {
|
||||
|
|
|
@ -87,3 +87,8 @@ variable "create_maa" {
|
|||
default = true
|
||||
description = "Create an MAA for attestation."
|
||||
}
|
||||
|
||||
variable "additional_tags" {
|
||||
type = map(any)
|
||||
description = "Additional tags that should be applied to created resources."
|
||||
}
|
||||
|
|
|
@ -32,16 +32,17 @@ module "fetch_image" {
|
|||
|
||||
|
||||
module "gcp" {
|
||||
source = "../../infrastructure/gcp"
|
||||
project = var.project
|
||||
image_id = module.fetch_image.image
|
||||
name = var.name
|
||||
node_groups = var.node_groups
|
||||
region = local.region
|
||||
zone = var.zone
|
||||
debug = var.debug
|
||||
custom_endpoint = var.custom_endpoint
|
||||
cc_technology = var.cc_technology
|
||||
source = "../../infrastructure/gcp"
|
||||
project = var.project
|
||||
image_id = module.fetch_image.image
|
||||
name = var.name
|
||||
node_groups = var.node_groups
|
||||
region = local.region
|
||||
zone = var.zone
|
||||
debug = var.debug
|
||||
custom_endpoint = var.custom_endpoint
|
||||
cc_technology = var.cc_technology
|
||||
additional_labels = var.additional_labels
|
||||
}
|
||||
|
||||
module "constellation" {
|
||||
|
|
|
@ -79,3 +79,8 @@ variable "cc_technology" {
|
|||
error_message = "The confidential computing technology has to be 'SEV' or 'SEV_SNP'."
|
||||
}
|
||||
}
|
||||
|
||||
variable "additional_labels" {
|
||||
type = map(any)
|
||||
description = "Additional labels that should be given to created recources."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue