diff --git a/README.md b/README.md index a5f52ed..3150f69 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Developer NOTE: We should automate this configuration. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| +| [account\_id](#input\_account\_id) | The account\_id holding these resources (for the s3 bucket.) | `string` | n/a | yes | | [cluster\_name](#input\_cluster\_name) | EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev) | `string` | n/a | yes | | [namespace](#input\_namespace) | The namespace into which tempo will be deployed | `string` | `"tempo"` | no | | [oidc\_provider\_arn](#input\_oidc\_provider\_arn) | The ARN in the EKS cluster for the OpenID Connect identity provider. | `string` | n/a | yes | diff --git a/main.tf b/main.tf index fa70175..e609b91 100644 --- a/main.tf +++ b/main.tf @@ -1,6 +1,7 @@ locals { - oidc_arn = var.oidc_provider_arn - tags = var.tags + oidc_arn = var.oidc_provider_arn + tags = var.tags + account_id = var.account_id } ################################################################################ diff --git a/variables.tf b/variables.tf index ce7152f..e824a9d 100644 --- a/variables.tf +++ b/variables.tf @@ -9,6 +9,11 @@ variable "region" { type = string } +variable "account_id" { + description = "The account_id holding these resources (for the s3 bucket.)" + type = string +} + variable "cluster_name" { description = "EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev)" type = string