Skip to content

Commit 0bd5449

Browse files
committed
chore: adding files to modules
chore: adding files to modules chore: adding files to modules chore: adding files to modules
1 parent 3577e5c commit 0bd5449

File tree

21 files changed

+80
-18
lines changed

21 files changed

+80
-18
lines changed

modules/aks/github-connector/backplane/outputs.tf

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
5+
provider "azuread" {}
6+
7+
provider "kubernetes" {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
5+
provider "azuread" {}
6+
7+
provider "kubernetes" {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
5+
provider "azuread" {}
6+
7+
provider "kubernetes" {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
provider "aws" {
2+
alias = "management"
3+
}
4+
5+
provider "aws" {
6+
alias = "backplane"
7+
}

modules/aws/s3_bucket/backplane/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ No modules.
3434

3535
## Inputs
3636

37-
No inputs.
37+
| Name | Description | Type | Default | Required |
38+
|------|-------------|------|---------|:--------:|
39+
| <a name="input_aws_s3_iam_user"></a> [aws\_s3\_iam\_user](#input\_aws\_s3\_iam\_user) | The IAM user to use for the S3 bucket | `string` | `"buildingblock-s3-user"` | no |
40+
| <a name="input_location"></a> [location](#input\_location) | The location of the S3 bucket | `string` | n/a | yes |
3841

3942
## Outputs
4043

modules/aws/s3_bucket/backplane/iam.tf renamed to modules/aws/s3_bucket/backplane/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
data "aws_caller_identity" "current" {}
22

33
resource "aws_iam_user" "buildingblock_s3_user" {
4-
name = "buildingblock-s3-user"
4+
name = var.aws_s3_iam_user
55
}
66

77
data "aws_iam_policy_document" "s3_full_access" {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
provider "aws" {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
variable "aws_s3_iam_user" {
2+
description = "The IAM user to use for the S3 bucket"
3+
default = "buildingblock-s3-user"
4+
type = string
5+
}
6+
7+
variable "location" {
8+
description = "The location of the S3 bucket"
9+
type = string
10+
}

modules/aws/s3_bucket/buildingblock/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ terraform {
2626
}
2727
}
2828
29-
provider "aws" {
30-
region = var.region
31-
}
29+
provider "aws" {}
3230
````
3331
3432
<!-- BEGIN_TF_DOCS -->

0 commit comments

Comments
 (0)