tflint
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
4c617b4729
commit
b4049e0ae1
@@ -182,20 +182,19 @@ A reference Certificate Authority Services (CAS) is also part of this stage, all
|
||||
| name | description | type | required | default | producer |
|
||||
|---|---|:---:|:---:|:---:|:---:|
|
||||
| [billing_account](variables-fast.tf#L17) | Billing account id. | <code title="object({ id = string })">object({…})</code> | ✓ | | <code>0-org-setup</code> |
|
||||
| [prefix](variables-fast.tf#L65) | Prefix used for resources that need unique names. Use a maximum of 9 chars for organizations, and 11 chars for tenants. | <code>string</code> | ✓ | | <code>0-org-setup</code> |
|
||||
| [prefix](variables-fast.tf#L57) | Prefix used for resources that need unique names. Use a maximum of 9 chars for organizations, and 11 chars for tenants. | <code>string</code> | ✓ | | <code>0-org-setup</code> |
|
||||
| [context](variables.tf#L17) | Context-specific interpolations. | <code title="object({ condition_vars = optional(map(map(string)), {}) custom_roles = optional(map(string), {}) folder_ids = optional(map(string), {}) iam_principals = optional(map(string), {}) locations = optional(map(string), {}) project_ids = optional(map(string), {}) storage_buckets = optional(map(string), {}) tag_keys = optional(map(string), {}) tag_values = optional(map(string), {}) vpc_sc_perimeters = optional(map(string), {}) })">object({…})</code> | | <code>{}</code> | |
|
||||
| [custom_roles](variables-fast.tf#L25) | Custom roles defined at the org level, in key => id format. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [factories_config](variables.tf#L35) | Configuration for the resource factories or external data. | <code title="object({ certificate_authorities = optional(string) # "data/certificate-authorities" defaults = optional(string, "data/defaults.yaml") folders = optional(string, "data/folders") keyrings = optional(string, "data/keyrings") projects = optional(string, "data/projects") })">object({…})</code> | | <code>{}</code> | |
|
||||
| [folder_ids](variables-fast.tf#L33) | Folders created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [iam_principals](variables-fast.tf#L41) | IAM-format principals. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [kms_keys](variables-fast.tf#L49) | KMS key ids. | <code>map(string)</code> | | <code>{}</code> | <code>2-security</code> |
|
||||
| [perimeters](variables-fast.tf#L57) | Optional VPC-SC perimeter ids. | <code>map(string)</code> | | <code>{}</code> | <code>1-vpcsc</code> |
|
||||
| [project_ids](variables-fast.tf#L75) | Projects created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [service_accounts](variables-fast.tf#L83) | Service accounts created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [storage_buckets](variables-fast.tf#L91) | Storage buckets created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [tag_keys](variables-fast.tf#L99) | FAST-managed resource manager tag keys. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [tag_values](variables-fast.tf#L107) | FAST-managed resource manager tag values. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [universe](variables-fast.tf#L115) | GCP universe where to deploy projects. The prefix will be prepended to the project id. | <code title="object({ domain = string prefix = string forced_jit_service_identities = optional(list(string), []) unavailable_services = optional(list(string), []) unavailable_service_identities = optional(list(string), []) })">object({…})</code> | | <code>null</code> | <code>0-org-setup</code> |
|
||||
| [perimeters](variables-fast.tf#L49) | Optional VPC-SC perimeter ids. | <code>map(string)</code> | | <code>{}</code> | <code>1-vpcsc</code> |
|
||||
| [project_ids](variables-fast.tf#L67) | Projects created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [service_accounts](variables-fast.tf#L75) | Service accounts created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [storage_buckets](variables-fast.tf#L83) | Storage buckets created in the bootstrap stage. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [tag_keys](variables-fast.tf#L91) | FAST-managed resource manager tag keys. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [tag_values](variables-fast.tf#L99) | FAST-managed resource manager tag values. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||
| [universe](variables-fast.tf#L107) | GCP universe where to deploy projects. The prefix will be prepended to the project id. | <code title="object({ domain = string prefix = string forced_jit_service_identities = optional(list(string), []) unavailable_services = optional(list(string), []) unavailable_service_identities = optional(list(string), []) })">object({…})</code> | | <code>null</code> | <code>0-org-setup</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@ locals {
|
||||
_defaults = yamldecode(file(local.paths.defaults))
|
||||
# extend context with our own data
|
||||
ctx = merge(local._ctx, {
|
||||
folder_ids = merge(var.folder_ids, local._ctx.folder_ids)
|
||||
custom_roles = merge(var.custom_roles, local._ctx.custom_roles)
|
||||
folder_ids = merge(var.folder_ids, local._ctx.folder_ids)
|
||||
iam_principals = merge(
|
||||
var.iam_principals,
|
||||
{
|
||||
|
||||
@@ -46,14 +46,6 @@ variable "iam_principals" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "kms_keys" {
|
||||
# tfdoc:variable:source 2-security
|
||||
description = "KMS key ids."
|
||||
type = map(string)
|
||||
nullable = false
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "perimeters" {
|
||||
# tfdoc:variable:source 1-vpcsc
|
||||
description = "Optional VPC-SC perimeter ids."
|
||||
|
||||
Reference in New Issue
Block a user