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 | name to use for component |`string`| n/a | yes |
41
-
| recipe\_arn | ARN of the recipe to use. Must change with Recipe version |`string`| n/a | yes |
42
-
| additional\_iam\_policy\_arns | List of ARN policies for addional builder permissions |`list(string)`|`[]`| no |
43
-
| cloudformation\_timeout | How long to wait (in minutes) for CFN to apply before giving up |`number`|`10`| no |
44
-
| description | description of component |`string`|`null`| no |
45
-
| enabled | Whether pipeline is ENABLED or DISABLED |`bool`|`true`| no |
46
-
| instance\_types | Instance types to create images from. It's unclear why this is a list. Possibly because different types can result in different images (like ARM instances) |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
47
-
| key\_pair | EC2 key pair to add to the default user on the builder |`string`|`null`| no |
48
-
| license\_config\_arns | If you're using License Manager, your ARNs go here |`list(string)`|`null`| no |
49
-
| log\_bucket | Bucket to store logs in. If this is ommited logs will not be stored |`string`|`null`| no |
50
-
| log\_prefix | S3 prefix to store logs at. Recommended if sharing bucket with other pipelines |`string`|`null`| no |
51
-
| public | Whether resulting AMI should be public |`bool`|`false`| no |
52
-
| regions | Regions that AMIs will be available in |`list(string)`| <pre>[<br> "us-east-1",<br> "us-east-2",<br> "us-west-1",<br> "us-west-2",<br> "ca-central-1"<br>]</pre> | no |
53
-
| schedule | Schedule expression for when pipeline should run automatically https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html| <pre>object({<br> PipelineExecutionStartCondition = string<br> ScheduleExpression = string<br> })</pre> | <pre>{<br> "PipelineExecutionStartCondition": "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE",<br> "ScheduleExpression": "cron(0 0 * * mon)"<br>}</pre> | no |
54
-
| security\_group\_ids | Security group IDs for the Image Builder |`list(string)`|`null`| no |
55
-
| shared\_account\_ids | AWS accounts to share AMIs with. If this is left null AMIs will be public |`list(string)`|`[]`| no |
56
-
| sns\_topic\_arn | SNS topic to notify when new images are created |`string`|`null`| no |
57
-
| subnet | Subnet ID to use for builder |`string`|`null`| no |
58
-
| tags | map of tags to use for CFN stack and component |`map(string)`|`{}`| no |
59
-
| terminate\_on\_failure | Change to false if you want to ssh into a builder for debugging after failure |`bool`|`true`| no |
60
-
| test\_config | Whether to run tests during image creation and maximum time to allow tests to run | <pre>object({<br> ImageTestsEnabled = bool<br> TimeoutMinutes = number<br> })</pre> | <pre>{<br> "ImageTestsEnabled": true,<br> "TimeoutMinutes": 60<br>}</pre> | no |
38
+
| Name | Description | Type | Default | Required |
| name | name to use for component |`string`| n/a | yes |
41
+
| recipe\_arn | ARN of the recipe to use. Must change with Recipe version |`string`| n/a | yes |
42
+
| additional\_iam\_policy\_arns | List of ARN policies for addional builder permissions |`list(string)`|`[]`| no |
43
+
| cloudformation\_timeout | How long to wait (in minutes) for CFN to apply before giving up |`number`|`10`| no |
44
+
| description | description of component |`string`|`null`| no |
45
+
| enabled | Whether pipeline is ENABLED or DISABLED |`bool`|`true`| no |
46
+
| image\_name | The name prefix given to the AMI created by the pipeline (a timestamp will be added to the end) |`string`|`""`| no |
47
+
| instance\_types | Instance types to create images from. It's unclear why this is a list. Possibly because different types can result in different images (like ARM instances) |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
48
+
| key\_pair | EC2 key pair to add to the default user on the builder |`string`|`null`| no |
49
+
| license\_config\_arns | If you're using License Manager, your ARNs go here |`list(string)`|`null`| no |
50
+
| log\_bucket | Bucket to store logs in. If this is ommited logs will not be stored |`string`|`null`| no |
51
+
| log\_prefix | S3 prefix to store logs at. Recommended if sharing bucket with other pipelines |`string`|`null`| no |
52
+
| public | Whether resulting AMI should be public |`bool`|`false`| no |
53
+
| regions | Regions that AMIs will be available in |`list(string)`| <pre>[<br> "us-east-1",<br> "us-east-2",<br> "us-west-1",<br> "us-west-2",<br> "ca-central-1"<br>]</pre> | no |
54
+
| schedule | Schedule expression for when pipeline should run automatically https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html| <pre>object({<br> PipelineExecutionStartCondition = string<br> ScheduleExpression = string<br> })</pre> | <pre>{<br> "PipelineExecutionStartCondition": "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE",<br> "ScheduleExpression": "cron(0 0 * * mon)"<br>}</pre> | no |
55
+
| security\_group\_ids | Security group IDs for the Image Builder |`list(string)`|`null`| no |
56
+
| shared\_account\_ids | AWS accounts to share AMIs with. If this is left null AMIs will be public |`list(string)`|`[]`| no |
57
+
| sns\_topic\_arn | SNS topic to notify when new images are created |`string`|`null`| no |
58
+
| subnet | Subnet ID to use for builder |`string`|`null`| no |
59
+
| tags | map of tags to use for CFN stack and component |`map(string)`|`{}`| no |
60
+
| terminate\_on\_failure | Change to false if you want to ssh into a builder for debugging after failure |`bool`|`true`| no |
61
+
| test\_config | Whether to run tests during image creation and maximum time to allow tests to run | <pre>object({<br> ImageTestsEnabled = bool<br> TimeoutMinutes = number<br> })</pre> | <pre>{<br> "ImageTestsEnabled": true,<br> "TimeoutMinutes": 60<br>}</pre> | no |
Copy file name to clipboardExpand all lines: variables.tf
+6
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ variable "enabled" {
22
22
type=bool
23
23
}
24
24
25
+
variable"image_name" {
26
+
default=""
27
+
description="The name prefix given to the AMI created by the pipeline (a timestamp will be added to the end)"
28
+
type=string
29
+
}
30
+
25
31
variable"instance_types" {
26
32
default=["t3.medium"]
27
33
description="Instance types to create images from. It's unclear why this is a list. Possibly because different types can result in different images (like ARM instances)"
0 commit comments