diff --git a/README.md b/README.md index 1f7af05..80832f4 100644 --- a/README.md +++ b/README.md @@ -59,14 +59,14 @@ Examples codified under the [`examples`](https://github.com/aws-ia/terraform-aws | Name | Source | Version | |------|--------|---------| -| [apigatewayv2](#module\_apigatewayv2) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [dynamodb](#module\_dynamodb) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [emrcontainers](#module\_emrcontainers) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [eventbridge](#module\_eventbridge) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [prometheusservice](#module\_prometheusservice) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [rds](#module\_rds) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [s3](#module\_s3) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | -| [sfn](#module\_sfn) | aws-ia/eks-blueprints-addon/aws | 1.1.0 | +| [apigatewayv2](#module\_apigatewayv2) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [dynamodb](#module\_dynamodb) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [emrcontainers](#module\_emrcontainers) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [eventbridge](#module\_eventbridge) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [prometheusservice](#module\_prometheusservice) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [rds](#module\_rds) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [s3](#module\_s3) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | +| [sfn](#module\_sfn) | aws-ia/eks-blueprints-addon/aws | 1.1.1 | ## Resources @@ -88,9 +88,10 @@ Examples codified under the [`examples`](https://github.com/aws-ia/terraform-aws | [cluster\_name](#input\_cluster\_name) | Name of the EKS cluster | `string` | n/a | yes | | [create\_delay\_dependencies](#input\_create\_delay\_dependencies) | Dependency attribute which must be resolved before starting the `create_delay_duration` | `list(string)` | `[]` | no | | [create\_delay\_duration](#input\_create\_delay\_duration) | The duration to wait before creating resources | `string` | `"30s"` | no | +| [create\_kubernetes\_resources](#input\_create\_kubernetes\_resources) | Create Kubernetes resource with Helm or Kubernetes provider | `bool` | `true` | no | | [dynamodb](#input\_dynamodb) | ACK dynamodb Helm Chart config | `any` | `{}` | no | -| [ecrpublic\_token](#input\_ecrpublic\_token) | Password decoded from the authorization token for accessing public ECR | `string` | n/a | yes | -| [ecrpublic\_username](#input\_ecrpublic\_username) | User name decoded from the authorization token for accessing public ECR | `string` | n/a | yes | +| [ecrpublic\_token](#input\_ecrpublic\_token) | Password decoded from the authorization token for accessing public ECR | `string` | `""` | no | +| [ecrpublic\_username](#input\_ecrpublic\_username) | User name decoded from the authorization token for accessing public ECR | `string` | `""` | no | | [emrcontainers](#input\_emrcontainers) | ACK EMR container Helm Chart config | `any` | `{}` | no | | [enable\_apigatewayv2](#input\_enable\_apigatewayv2) | Enable ACK API gateway v2 add-on | `bool` | `false` | no | | [enable\_dynamodb](#input\_enable\_dynamodb) | Enable ACK dynamodb add-on | `bool` | `false` | no | @@ -110,7 +111,9 @@ Examples codified under the [`examples`](https://github.com/aws-ia/terraform-aws ## Outputs -No outputs. +| Name | Description | +|------|-------------| +| [gitops\_metadata](#output\_gitops\_metadata) | GitOps Bridge metadata | ## Community diff --git a/main.tf b/main.tf index 4667ee0..c892f18 100644 --- a/main.tf +++ b/main.tf @@ -28,7 +28,7 @@ locals { iam_role_policy_prefix = "arn:${local.partition}:iam::aws:policy" # ECR Credentials - repository_username = var.create_kubernetes_resources ? var.ecrpublic_username: "" + repository_username = var.create_kubernetes_resources ? var.ecrpublic_username : "" repository_password = var.create_kubernetes_resources ? var.ecrpublic_token : "" } diff --git a/outputs.tf b/outputs.tf index 5aa62ab..8270ac9 100644 --- a/outputs.tf +++ b/outputs.tf @@ -60,4 +60,4 @@ output "gitops_metadata" { } : "ack_eventbridge_${k}" => v if var.enable_eventbridge } ) -} \ No newline at end of file +} diff --git a/variables.tf b/variables.tf index 1839ece..eca6f69 100644 --- a/variables.tf +++ b/variables.tf @@ -179,4 +179,4 @@ variable "create_kubernetes_resources" { description = "Create Kubernetes resource with Helm or Kubernetes provider" type = bool default = true -} \ No newline at end of file +}