diff --git a/services/terraform/remote/main.tf b/services/terraform/remote/main.tf --- a/services/terraform/remote/main.tf +++ b/services/terraform/remote/main.tf @@ -4,10 +4,18 @@ provider "aws" { region = "us-east-2" - - shared_config_files = ["${pathexpand("~/.aws/config")}"] + + shared_config_files = ["${pathexpand("~/.aws/config")}"] shared_credentials_files = ["${pathexpand("~/.aws/credentials")}"] - profile = var.aws_profile + profile = var.aws_profile + + # automatically add these tags to all resources + default_tags { + tags = { + # Helps to distinguish which resources are managed by Terraform + ManagedBy = "Terraform" + } + } } # Shared resources between local dev environment and remote AWS