From 14a77164aff018b2661b7d3ccf5da1a4dedaf4c2 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 19 Aug 2022 13:13:21 -0400 Subject: [PATCH] add profile var --- README.md | 1 + variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 79aa47b..915cae6 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ No modules. | [destination\_username](#input\_destination\_username) | OCI destination repository username | `string` | `null` | no | | [image\_config](#input\_image\_config) | List of image configuration objects to copy from SOURCE to DESTINATION |
list(object({
name = string,
tag = string,
dest_path = string,
source_registry = string,
source_image = string,
source_tag = string,
enabled = bool,
}))
| `[]` | no | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | +| [profile](#input\_profile) | AWS Profile Name, used generating key rotation file | `string` | n/a | yes | | [region](#input\_region) | Region in which to create the ECR repositories (default of current region) | `string` | `null` | no | | [source\_password](#input\_source\_password) | OCI source repository password | `string` | `null` | no | | [source\_username](#input\_source\_username) | OCI source repository username | `string` | `null` | no | diff --git a/variables.tf b/variables.tf index 409226d..dde4a23 100644 --- a/variables.tf +++ b/variables.tf @@ -1,3 +1,8 @@ +variable "profile" { + description = "AWS Profile Name, used generating key rotation file" + type = string +} + variable "application_name" { description = "Appliication name, usually {org}-{project}, which is likely a prefix to the EKS cluster name" type = string