Use AWS SSM to power EC2 instances on and off
Name | Version |
---|---|
terraform | ~>= 1.0 |
aws | ~> 4.0 |
Name | Version |
---|---|
aws | ~> 4.0 |
No modules.
Name | Type |
---|---|
aws_iam_role.ssm_role | resource |
aws_iam_role_policy_attachment.ssm_policy_attachment | resource |
aws_ssm_association.start_instance | resource |
aws_ssm_association.stop_instance | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.dlm_lifecycle_role | data source |
aws_ssm_document.start_instance | data source |
aws_ssm_document.stop_instance | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment | Environment name, EG. Development | any |
n/a | yes |
schedule_expressions | n/a | map(string) |
{ |
no |
service | Name of service to use this module. EG. SuperCaliFragiListic | any |
n/a | yes |
tags | Map of tags to apply | map(any) |
n/a | yes |
targets | n/a | map |
{ |
no |
No outputs.