Change terraform variable and fix typo in docs
Signed-off-by: Jacob Valdemar Andreasen <jan@lunar.app>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Variables
|
||||
#==========================
|
||||
|
||||
variable "backstage" {
|
||||
variable "backstage-bucket" {
|
||||
default = "backstage_bucket_for_my_corp"
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ variable "shared-managed-tag-value" {
|
||||
#==========================
|
||||
|
||||
resource "aws_s3_bucket" "backstage" {
|
||||
bucket = var.backstage
|
||||
bucket = var.backstage-bucket
|
||||
acl = "private"
|
||||
provider = aws
|
||||
|
||||
@@ -36,7 +36,7 @@ resource "aws_s3_bucket" "backstage" {
|
||||
}
|
||||
|
||||
tags = {
|
||||
Name = var.backstage
|
||||
Name = var.backstage-bucket
|
||||
"Managed By Terraform" = var.shared-managed-tag-value
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ You should follow the
|
||||
|
||||
TechDocs needs access to read files and metadata of the S3 bucket. So if you are
|
||||
creating a policy for a user you want to make sure it is granted access to
|
||||
ListObjects, GetObject and PutObject.
|
||||
ListBucket, GetObject and PutObject.
|
||||
|
||||
If the environment variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user