chadgeary / nifi

Deploy a secured, clustered, auto-scaling NiFi service in AWS.
48 stars 14 forks source link

add AWS tags #5

Closed cgmckeever closed 3 years ago

cgmckeever commented 3 years ago

Dearest @chadgeary .. Ive used the AWS Provider default tags to auto-magically tags all resources ..

It appears your editor formatter is different that terraform fmt and it makes this MR look huge .. basic changes were

add new variable:

variable "aws_default_tags" {
  type = map(string)
}

aws_default_tags = {
     Environment = "Your-Env-Here"
     Owner       = "Your-Team-Here"
     Project     = "Your-Project-Here"
}

add tag block to provider

 default_tags {
    tags = var.aws_default_tags
 }
chadgeary commented 3 years ago

Added in 3d45dcf