File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ variable "backup_frequency_days" {
5151 description = " The number of days after which the backup should be taken of the ami"
5252}
5353
54+ variable "ssm_access_type" {
55+ type = string
56+ default = " "
57+ description = " ssm access type"
58+ }
5459
5560variable "owner_team" {
5661 type = string
Original file line number Diff line number Diff line change @@ -193,7 +193,10 @@ resource "aws_instance" "this" {
193193 " Environment" = var.environment,
194194 " Service" = var.service,
195195 " ServiceComponent" = var.service_component,
196- " OwnerTeam" = var.owner_team
196+ " OwnerTeam" = var.owner_team,
197+ env_type_ssm = var.ssm_access_type,
198+ disaster-recovery-backup = var.backup_for_disaster_recovery,
199+ backup-frequency = var.backup_frequency_days
197200 }, var. instance_tags , var. tags )
198201 volume_tags = var. enable_volume_tags ? merge ({ " Name" = var.name }, var. volume_tags ) : null
199202}
You can’t perform that action at this time.
0 commit comments