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
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
101
102
|[aws_iam_policy_document.assume_role_doc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
102
103
|[aws_iam_policy_document.ssm_doc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
| account\_ids | AWS account IDs that are allowed to assume the role. |`list(string)`|`[]`| no |
109
117
| entity\_name | The name of the entity that the role is being created for (e.g. "test-user" or "host.example.com"). |`string`| n/a | yes |
@@ -112,13 +120,29 @@ No modules.
112
120
| role\_name | The name to assign the IAM role (as well as the corresponding policy) that allows read-only access to the specified SSM Parameter Store parameters. Note that the "%s" in this value will get replaced with the entity\_name variable. If there are no instances of "%s" present in this value, no replacement will be made and the value will be used as is. Including more than one instance of "%s" in this value will result in a Terraform error, so don't do that. If the role name is longer than the current AWS limit of 64 characters (either as-is or after entity\_name replacement), the role name will be truncated to the first 64 characters. |`string`|`"ParameterStoreReadOnly-%s"`| no |
113
121
| ssm\_names | A list of SSM Parameter Store parameters that the created role will be allowed to access. |`list(string)`| n/a | yes |
114
122
| ssm\_regions | AWS regions of target SSMs (e.g. ["us-east-1", "us-east-2"]). If not provided, defaults to all regions. |`list(string)`|```[ "*" ]```| no |
| ami\_owner\_account\_id | The ID of the AWS account that owns the Example AMI, or "self" if the AMI is owned by the same account as the provisioner. |`string`|`"self"`| no |
126
+
| aws\_availability\_zone | The AWS availability zone to deploy into (e.g. a, b, c, etc.). |`string`|`"a"`| no |
127
+
| aws\_region | The AWS region to deploy into (e.g. us-east-1). |`string`|`"us-east-1"`| no |
128
+
| subnet\_id | The ID of the AWS subnet to deploy into (e.g. subnet-0123456789abcdef0). |`string`| n/a | yes |
129
+
>>>>>>> a56d4c99f2984eba574de97a36018d4a612181cf
115
130
116
131
## Outputs ##
117
132
118
133
| Name | Description |
134
+
<<<<<<< HEAD
119
135
|------|-------------|
120
136
| policy | The IAM policy that can read the specified SSM Parameter Store parameters. |
121
137
| role | The IAM role that can read the specified SSM Parameter Store parameters. |
138
+
=======
139
+
| ---- | ----------- |
140
+
| arn | The EC2 instance ARN. |
141
+
| availability\_zone | The AZ where the EC2 instance is deployed. |
142
+
| id | The EC2 instance ID. |
143
+
| private\_ip | The private IP of the EC2 instance. |
144
+
| subnet\_id | The ID of the subnet where the EC2 instance is deployed. |
| ami\_owner\_account\_id | The ID of the AWS account that owns the AMI, or "self" if the AMI is owned by the same account as the provisioner. |`string`|`"self"`| no |
59
+
| aws\_availability\_zone | The AWS availability zone to deploy into (e.g. a, b, c, etc.). |`string`|`"a"`| no |
60
+
| aws\_region | The AWS region to deploy into (e.g. us-east-1). |`string`|`"us-east-1"`| no |
61
+
| tags | Tags to apply to all AWS resources created. |`map(string)`|```{ "Testing": true }```| no |
62
+
| tf\_role\_arn | The ARN of the role that can terraform non-specialized resources. |`string`| n/a | yes |
63
+
>>>>>>> a56d4c99f2984eba574de97a36018d4a612181cf
36
64
37
65
## Outputs ##
38
66
39
67
| Name | Description |
68
+
<<<<<<< HEAD
40
69
|------|-------------|
41
70
| policy | The IAM policy that can read the specified SSM Parameter Store parameters for site.example.com. |
42
71
| role | The IAM role that can read the specified SSM Parameter Store parameters for site.example.com. |
72
+
=======
73
+
| ---- | ----------- |
74
+
| arn | The EC2 instance ARN. |
75
+
| availability\_zone | The AZ where the EC2 instance is deployed. |
76
+
| id | The EC2 instance ID. |
77
+
| private\_ip | The private IP of the EC2 instance. |
78
+
| subnet\_id | The ID of the subnet where the EC2 instance is deployed. |
0 commit comments