Skip to content

Commit ebab384

Browse files
authored
bugfix (#1)
1 parent 871fd73 commit ebab384

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ Create an S3 bucket intended to serve as a Helm repo. Configures basic encryptio
77

88
| Name | Description | Type | Default | Required |
99
|------|-------------|:----:|:-----:|:-----:|
10-
| cluster\_name | | string | n/a | yes |
11-
| tags | | map(string) | `{}` | no |
10+
| name | Prefix name for the helm repo \(e.g., EKS cluster name\) | string | `"default"` | no |
11+
| tags | Tags to add to supported resources | map(string) | `{}` | no |
12+
13+
## Outputs
14+
15+
| Name | Description |
16+
|------|-------------|
17+
| s3\_bucket\_repo | |
1218

1319
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ resource "aws_s3_bucket_public_access_block" "this" {
3434
create_before_destroy = true
3535
}
3636

37-
depends_on = [aws_s3_bucket.repo_bucket]
37+
depends_on = [aws_s3_bucket.this]
3838
}

variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
variable "name" {
2-
default = "default"
2+
default = "default"
33
description = "Prefix name for the helm repo (e.g., EKS cluster name)"
4-
type = string
4+
type = string
55
}
66

77
variable "tags" {
8-
default = {}
8+
default = {}
99
description = "Tags to add to supported resources"
10-
type = map(string)
10+
type = map(string)
1111
}

0 commit comments

Comments
 (0)