Add support for Workload Identity to project module and project factory (#3531)

* module-level support

* fast stage 0

* fix inventory, add outputs/tfvars

* wip

* project factory

* pf outputs

* iam templates will be added where ci/cd configs are managed

* fix merge conflicts
This commit is contained in:
Ludovico Magnocavallo
2025-11-17 08:31:21 +01:00
committed by GitHub
parent 87ed19bc47
commit 897c6ef8c3
29 changed files with 1487 additions and 143 deletions

View File

@@ -313,6 +313,33 @@ variable "projects" {
perimeter_name = string
is_dry_run = optional(bool, false)
}))
workload_identity_pools = optional(map(object({
display_name = optional(string)
description = optional(string)
disabled = optional(bool)
providers = optional(map(object({
display_name = optional(string)
description = optional(string)
attribute_condition = optional(string)
attribute_mapping = optional(map(string), {})
disabled = optional(bool, false)
identity_provider = object({
aws = optional(object({
account_id = string
}))
oidc = optional(object({
allowed_audiences = optional(list(string), [])
issuer_uri = optional(string)
jwks_json = optional(string)
template = optional(string)
}))
saml = optional(object({
idp_metadata_xml = string
}))
# x509 = optional(object({}))
})
})), {})
})), {})
}))
nullable = false
default = {}