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
Correct the ARN string, also fix the tag sets and allow tag filters as per the api (#9)
* Use the correct the lookup map object
* Remove list of lists
* Add lookups again
* Fix ARN typo
* Change ec2_tag_set and ec2_tag_filter stuctures
* Fix missing bracket
* Linting
* Auto Format
* The format of the ARNs is not consistent across platforms. Fixed.
* Conform to the Cloud Posse syntax, add some comments and remove commented out crap
* Tidy up variables documentation
* Auto Format
* Update main.tf
Co-authored-by: nitrocode <[email protected]>
* Update main.tf
Co-authored-by: nitrocode <[email protected]>
* Allow the correct AWS partition to be selected automagically
* Auto Format
* Adding enabled logic for the aws_partition data
* Update main.tf
Co-authored-by: nitrocode <[email protected]>
Co-authored-by: cloudpossebot <[email protected]>
|[aws_iam_policy_document.assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
163
+
|[aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
163
164
164
165
## Inputs
165
166
@@ -177,7 +178,8 @@ Available targets:
177
178
| <aname="input_create_default_sns_topic"></a> [create\_default\_sns\_topic](#input\_create\_default\_sns\_topic)| Whether to create default SNS topic through which notifications are sent. |`bool`|`true`| no |
178
179
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
179
180
| <aname="input_deployment_style"></a> [deployment\_style](#input\_deployment\_style)| Configuration of the type of deployment, either in-place or blue/green, <br>you want to run and whether to route deployment traffic behind a load balancer.<br><br>deployment\_option:<br> Indicates whether to route deployment traffic behind a load balancer. <br> Possible values: `WITH_TRAFFIC_CONTROL`, `WITHOUT_TRAFFIC_CONTROL`.<br>deployment\_type:<br> Indicates whether to run an in-place deployment or a blue/green deployment.<br> Possible values: `IN_PLACE`, `BLUE_GREEN`. | <pre>object({<br> deployment_option = string<br> deployment_type = string<br> })</pre> |`null`| no |
180
-
| <aname="input_ec2_tag_filter"></a> [ec2\_tag\_filter](#input\_ec2\_tag\_filter)| A list of sets of tag filters. If multiple tag groups are specified, <br>any instance that matches to at least one tag filter of every tag group is selected.<br><br>key:<br> The key of the tag filter.<br>type:<br> The type of the tag filter, either `KEY_ONLY`, `VALUE_ONLY`, or `KEY_AND_VALUE`.<br>value:<br> The value of the tag filter. | <pre>list(object({<br> key = string<br> type = string<br> value = string<br> }))</pre> |`null`| no |
181
+
| <aname="input_ec2_tag_filter"></a> [ec2\_tag\_filter](#input\_ec2\_tag\_filter)| The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.<br>Cannot be used in the same call as ec2TagSet. | <pre>set(object({<br> key = string<br> type = string<br> value = string<br> }))</pre> |`[]`| no |
182
+
| <aname="input_ec2_tag_set"></a> [ec2\_tag\_set](#input\_ec2\_tag\_set)| A list of sets of tag filters. If multiple tag groups are specified,<br>any instance that matches to at least one tag filter of every tag group is selected.<br><br>key:<br> The key of the tag filter.<br>type:<br> The type of the tag filter, either `KEY_ONLY`, `VALUE_ONLY`, or `KEY_AND_VALUE`.<br>value:<br> The value of the tag filter. | <pre>set(object(<br> {<br> ec2_tag_filter = set(object(<br> {<br> key = string<br> type = string<br> value = string<br> }<br> ))<br> }<br> ))</pre> |`[]`| no |
181
183
| <aname="input_ecs_service"></a> [ecs\_service](#input\_ecs\_service)| Configuration block(s) of the ECS services for a deployment group.<br><br>cluster\_name:<br> The name of the ECS cluster. <br>service\_name:<br> The name of the ECS service. | <pre>list(object({<br> cluster_name = string<br> service_name = string<br> }))</pre> |`null`| no |
182
184
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
183
185
| <aname="input_environment"></a> [environment](#input\_environment)| Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
|[aws_iam_policy_document.assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
33
+
|[aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
33
34
34
35
## Inputs
35
36
@@ -47,7 +48,8 @@
47
48
| <aname="input_create_default_sns_topic"></a> [create\_default\_sns\_topic](#input\_create\_default\_sns\_topic)| Whether to create default SNS topic through which notifications are sent. |`bool`|`true`| no |
48
49
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
49
50
| <aname="input_deployment_style"></a> [deployment\_style](#input\_deployment\_style)| Configuration of the type of deployment, either in-place or blue/green, <br>you want to run and whether to route deployment traffic behind a load balancer.<br><br>deployment\_option:<br> Indicates whether to route deployment traffic behind a load balancer. <br> Possible values: `WITH_TRAFFIC_CONTROL`, `WITHOUT_TRAFFIC_CONTROL`.<br>deployment\_type:<br> Indicates whether to run an in-place deployment or a blue/green deployment.<br> Possible values: `IN_PLACE`, `BLUE_GREEN`. | <pre>object({<br> deployment_option = string<br> deployment_type = string<br> })</pre> |`null`| no |
50
-
| <aname="input_ec2_tag_filter"></a> [ec2\_tag\_filter](#input\_ec2\_tag\_filter)| A list of sets of tag filters. If multiple tag groups are specified, <br>any instance that matches to at least one tag filter of every tag group is selected.<br><br>key:<br> The key of the tag filter.<br>type:<br> The type of the tag filter, either `KEY_ONLY`, `VALUE_ONLY`, or `KEY_AND_VALUE`.<br>value:<br> The value of the tag filter. | <pre>list(object({<br> key = string<br> type = string<br> value = string<br> }))</pre> |`null`| no |
51
+
| <aname="input_ec2_tag_filter"></a> [ec2\_tag\_filter](#input\_ec2\_tag\_filter)| The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.<br>Cannot be used in the same call as ec2TagSet. | <pre>set(object({<br> key = string<br> type = string<br> value = string<br> }))</pre> |`[]`| no |
52
+
| <aname="input_ec2_tag_set"></a> [ec2\_tag\_set](#input\_ec2\_tag\_set)| A list of sets of tag filters. If multiple tag groups are specified,<br>any instance that matches to at least one tag filter of every tag group is selected.<br><br>key:<br> The key of the tag filter.<br>type:<br> The type of the tag filter, either `KEY_ONLY`, `VALUE_ONLY`, or `KEY_AND_VALUE`.<br>value:<br> The value of the tag filter. | <pre>set(object(<br> {<br> ec2_tag_filter = set(object(<br> {<br> key = string<br> type = string<br> value = string<br> }<br> ))<br> }<br> ))</pre> |`[]`| no |
51
53
| <aname="input_ecs_service"></a> [ecs\_service](#input\_ecs\_service)| Configuration block(s) of the ECS services for a deployment group.<br><br>cluster\_name:<br> The name of the ECS cluster. <br>service\_name:<br> The name of the ECS service. | <pre>list(object({<br> cluster_name = string<br> service_name = string<br> }))</pre> |`null`| no |
52
54
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
53
55
| <aname="input_environment"></a> [environment](#input\_environment)| Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
0 commit comments