s3 bucket custom name
This commit is contained in:
@@ -35,7 +35,7 @@ resource "aws_iam_access_key" "lb" {
|
||||
|
||||
|
||||
resource "aws_s3_bucket" "s3_bucket" {
|
||||
bucket = "qmi-bucket-${var.provision_id}"
|
||||
bucket = var.bucket_name!=null? var.bucket_name : "qmi-bucket-${var.provision_id}"
|
||||
|
||||
tags = local.tags
|
||||
|
||||
|
||||
@@ -13,3 +13,6 @@ variable "tenant_id" {
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "bucket_name" {
|
||||
default = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user