terraform.aws-baseline-infra/modules/compute/ec2-instance-scheduler/README.md
2024-02-26 11:05:53 +08:00

2.4 KiB

Requirements

Name Version
terraform >= 1.3.0
aws >= 5.0

Providers

Name Version
archive n/a
aws >= 5.0
random n/a

Modules

No modules.

Resources

Name Type
aws_iam_role.eventscheduler resource
aws_iam_role.this resource
aws_iam_role_policy.this resource
aws_iam_role_policy_attachment.this resource
aws_lambda_function.ec2-start-stop resource
aws_lambda_permission.lambda_permission resource
aws_scheduler_schedule.start resource
aws_scheduler_schedule.stop resource
random_id.this resource
archive_file.lambda-package data source
aws_caller_identity.this data source

Inputs

Name Description Type Default Required
description A description of instances to be started/stopped on schedule string n/a yes
instance-ids Instances to be automatically started/stopped on schedule list(string) n/a yes
instance-start-cron-expression Cron expression for instance start schedule string n/a yes
instance-stop-cron-expression Cron expression for instance stop schedule string n/a yes

Outputs

No outputs.


Authorship

This module was developed by UPDATE_THIS.