You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`name`|`admin`| Name (e.g. `bastion` or `db`) - required for `tf_label` module | Yes |
56
+
|`ec2_ami`|`ami-cd0f5cb6`| By default it is an AMI provided by Amazon with Ubuntu 16.04 | No |
57
+
|`ssh_key_pair`| `` | SSH key pair to be provisioned on instance | Yes |
58
+
|`github_api_token`| `` | GitHub API token | Yes |
59
+
|`github_organization`| `` | GitHub organization name | Yes |
60
+
|`github_team`| `` | GitHub team | Yes |
61
+
|`ansible_playbook`| `` | Path to the playbook - required for `tf_ansible` (e.g. `./admin_tier.yml`) | Yes |
62
+
|`ansible_arguments`|[]| List of ansible arguments (e.g. `["--user=ubuntu"]`) | No |
63
+
|`instance_type`|`t2.micro`| The type of the creating instance (e.g. `t2.micro`) | No |
64
+
|`vpc_id`| `` | The id of the VPC that the creating instance security group belongs to | Yes |
65
+
|`security_groups`|[]| List of Security Group IDs allowed to connect to creating instance | Yes |
66
+
|`subnets`|[]| List of VPC Subnet IDs creating instance launched in | Yes |
67
+
|`associate_public_ip_address`|`true`| Associate a public ip address with the creating instance. Boolean value | No |
68
+
|`comparison_operator`|`GreaterThanOrEqualToThreshold`| Arithmetic operation to use when comparing the specified Statistic and Threshold | Yes |
69
+
|`metric_name`|`StatusCheckFailed_Instance`| Name for the alarm's associated metric | Yes |
70
+
|`evaluation_periods`|`5`| Number of periods over which data is compared to the specified threshold | Yes |
71
+
|`metric_namespace`|`AWS/EC2`| Namespace for the alarm's associated metric | Yes |
72
+
|`applying_period`|`60`| Period in seconds over which the specified statistic is applied | Yes |
73
+
|`statistic_level`|`Maximum`| Statistic to apply to the alarm's associated metric | Yes |
74
+
|`metric_threshold`|`1`| Value against which the specified statistic is compared | Yes |
75
+
|`default_alarm_action`|`action/actions/AWS_EC2.InstanceId.Reboot/1.0`| String of action to execute when this alarm transitions into an ALARM state | Yes |
76
+
65
77
66
-
## Outputs
67
78
68
-
| Name | Decription |
69
-
|:-------------------:|:-----------------------:|
70
-
|`id`| Disambiguated ID |
71
-
|`public_hostname`| Normalized name |
72
-
|`public_ip`| Normalized namespace |
73
-
|`ssh_key_pair`| Name of used AWS SSH key|
74
-
|`security_group_id`| ID on the new AWS Security Group associated with creating instance|
75
-
|`role`| Name of AWS IAM Role associated with creating instance|
description="The arithmetic operation to use when comparing the specified Statistic and Threshold. Possible values are: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold."
61
+
default="GreaterThanOrEqualToThreshold"
62
+
}
63
+
64
+
variable"metric_name" {
65
+
description="The name for the alarm's associated metric. Possible values you can find in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html ."
66
+
default="StatusCheckFailed_Instance"
67
+
}
68
+
69
+
variable"evaluation_periods" {
70
+
description="The number of periods over which data is compared to the specified threshold."
71
+
default="5"
72
+
}
73
+
74
+
variable"metric_namespace" {
75
+
description="The namespace for the alarm's associated metric. Possible values you can find in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-namespaces.html ."
76
+
default="AWS/EC2"
77
+
}
78
+
79
+
variable"applying_period" {
80
+
description="The period in seconds over which the specified statistic is applied."
81
+
default="60"
82
+
}
83
+
84
+
variable"statistic_level" {
85
+
description="The statistic to apply to the alarm's associated metric. Possible values are: SampleCount, Average, Sum, Minimum, Maximum"
86
+
default="Maximum"
87
+
}
88
+
89
+
variable"metric_threshold" {
90
+
description="The value against which the specified statistic is compared."
0 commit comments