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" {
51
51
description = " The number of days after which the backup should be taken of the ami"
52
52
}
53
53
54
+ variable "ssm_access_type" {
55
+ type = string
56
+ default = " "
57
+ description = " ssm access type"
58
+ }
54
59
55
60
variable "owner_team" {
56
61
type = string
Original file line number Diff line number Diff line change @@ -193,7 +193,10 @@ resource "aws_instance" "this" {
193
193
" Environment" = var.environment,
194
194
" Service" = var.service,
195
195
" 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
197
200
}, var. instance_tags , var. tags )
198
201
volume_tags = var. enable_volume_tags ? merge ({ " Name" = var.name }, var. volume_tags ) : null
199
202
}
You can’t perform that action at this time.
0 commit comments