Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (49 loc) · 5.69 KB

File metadata and controls

57 lines (49 loc) · 5.69 KB

terraform-aws-ec2-mac

Providers

Name Version
aws 4.2.0
random 3.1.0

Resources

Name Type
aws_autoscaling_group.mac_workers resource
aws_autoscaling_schedule.scale_down resource
aws_autoscaling_schedule.scale_up resource
aws_iam_instance_profile.ssm_inst_profile resource
aws_iam_role.ec2_role resource
aws_iam_role.ssm_role resource
aws_iam_role_policy_attachment.ec2_attach resource
aws_iam_role_policy_attachment.ssm_attach resource
aws_launch_template.mac_workers resource
aws_licensemanager_license_configuration.mac_workers resource
aws_security_group.circleci_runner resource
aws_ssm_activation.ssm_attach resource
random_pet.mac_workers resource
random_string.str_prefix resource
aws_cloudformation_export.host_resource_group_arn data source

Inputs

Name Description Type Default Required
ami_id SSM Parameter used to lookup the EC2 Mac1 AMI string n/a yes
aws_availability_zone AWS Availability Zone in which Runners will be deployed. string n/a yes
aws_region AWS Region in which Runners will be deployed. string n/a yes
host_resource_group_cfn_stack_name Host Resource Group CFN Stack Created string n/a yes
license_manager_arn The ARN of the License Configuration named MyDefaultLicense string n/a yes
runner_auth_token Runner auth token. See docs for how to generate one. https://circleci.com/docs/2.0/runner-installation/#authentication string n/a yes
autoscaling_schedule_time_zone Time Zone of Autoscalling Schedule string "UTC" no
mac_ebs_volume_size EC2 Mac1 EBS volume size number 200 no
max_num_instances Max number of EC2 Mac1 instances in ASG number 2 no
min_num_instances Min number of EC2 Mac1 instances in ASG number 1 no
number_of_instances Desired Capacity of EC2 Mac1 instances in ASG number 1 no
number_of_instances_scale Desired Capacity of EC2 Mac1 instances in ASG when scalling number 2 no
scale_down_cron Unix cron syntax format of when to scale down string "0 20 * * *" no
scale_up_cron Unix cron syntax format of when to scale up string "0 8 * * MON-FRI" no
security_group_ids Security Group Ids used by EC2 Mac1 instances in ASG list(string) [] no
subnet_ids Subnet Id for each Availability Zone in ASG list(string) [] no
vpc_id VPC Id for LB Target Group string "" no
worker_prefix Prefix used to create ASG Launch template & Host Resource Group license configuration string "circleci-runner-mac" no

Outputs

No outputs.