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
Security scanning is graciously provided by Bridgecrew. Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=CIS+KUBERNETES+V1.5)| Center for Internet Security, KUBERNETES Compliance |
71
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=CIS+AWS+V1.2)| Center for Internet Security, AWS Compliance |
72
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=CIS+AZURE+V1.1)| Center for Internet Security, AZURE Compliance |
73
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=PCI-DSS+V3.2)| Payment Card Industry Data Security Standards Compliance |
74
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=NIST-800-53)| National Institute of Standards and Technology Compliance |
75
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=ISO27001)| Information Security Management System, ISO/IEC 27001 Compliance |
76
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=SOC2)| Service Organization Control 2 Compliance |
77
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=CIS+GCP+V1.1)| Center for Internet Security, GCP Compliance |
78
-
|[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=cloudposse%2Fterraform-aws-ec2-instance&benchmark=HIPAA)| Health Insurance Portability and Accountability Compliance |
79
50
51
+
## Usage
80
52
81
53
82
-
## Usage
83
54
55
+
> **Important**
56
+
> We do not pin modules to versions in Cloud Posse's examples because of the
57
+
> difficulty of keeping the versions in the documentation in sync with the latest released versions.
58
+
> We highly recommend that in your code you pin the version to the exact version you are
59
+
> using so that your infrastructure remains stable, and update versions in a
60
+
> systematic way so that they do not catch you by surprise.
84
61
85
-
**IMPORTANT:** We do not pin modules to versions in our examples because of the
86
-
difficulty of keeping the versions in the documentation in sync with the latest released versions.
87
-
We highly recommend that in your code you pin the version to the exact version you are
88
-
using so that your infrastructure remains stable, and update versions in a
89
-
systematic way so that they do not catch you by surprise.
90
62
91
63
92
64
Note: add `${var.ssh_key_pair}` private key to the `ssh agent`.
@@ -275,6 +247,7 @@ Available targets:
275
247
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
276
248
| <aname="input_instance_initiated_shutdown_behavior"></a> [instance\_initiated\_shutdown\_behavior](#input\_instance\_initiated\_shutdown\_behavior)| Specifies whether an instance stops or terminates when you initiate shutdown from the instance. Can be one of 'stop' or 'terminate'. |`string`|`null`| no |
277
249
| <aname="input_instance_profile"></a> [instance\_profile](#input\_instance\_profile)| A pre-defined profile to attach to the instance (default is to build our own) |`string`|`""`| no |
250
+
| <aname="input_instance_profile_enabled"></a> [instance\_profile\_enabled](#input\_instance\_profile\_enabled)| Whether an IAM instance profile is created to pass a role to an Amazon EC2 instance when the instance starts |`bool`|`true`| no |
278
251
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| The type of the instance |`string`|`"t2.micro"`| no |
279
252
| <aname="input_ipv6_address_count"></a> [ipv6\_address\_count](#input\_ipv6\_address\_count)| Number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet (-1 to use subnet default) |`number`|`0`| no |
280
253
| <aname="input_ipv6_addresses"></a> [ipv6\_addresses](#input\_ipv6\_addresses)| List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
@@ -351,13 +324,6 @@ Available targets:
351
324
<!-- markdownlint-restore -->
352
325
353
326
354
-
355
-
## Share the Love
356
-
357
-
Like this project? Please give it a ★ on [our GitHub](https://github.com/cloudposse/terraform-aws-ec2-instance)! (it helps us **a lot**)
358
-
359
-
360
-
361
327
## Related Projects
362
328
363
329
Check out these related projects.
@@ -375,70 +341,22 @@ For additional context, refer to some of these links.
375
341
-[terraform-aws-ec2-bastion-server](https://github.com/cloudposse/terraform-aws-ec2-bastion-server) - Terraform Module to define a generic Bastion host with parameterized user_data
376
342
377
343
378
-
## Help
379
-
380
-
**Got a question?** We got answers.
381
-
382
-
File a GitHub [issue](https://github.com/cloudposse/terraform-aws-ec2-instance/issues), send us an [email][email] or join our [Slack Community][slack].
We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.
Work directly with our team of DevOps experts via email, slack, and video conferencing.
394
-
395
-
We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.
396
-
397
-
-**Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
398
-
-**Release Engineering.** You'll have end-to-end CI/CD with unlimited staging environments.
399
-
-**Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
400
-
-**Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
401
-
-**GitOps.** You'll be able to operate your infrastructure via Pull Requests.
402
-
-**Training.** You'll receive hands-on training so your team can operate what we build.
403
-
-**Questions.** You'll have a direct line of communication between our teams via a Shared Slack channel.
404
-
-**Troubleshooting.** You'll get help to triage when things aren't working.
405
-
-**Code Reviews.** You'll receive constructive feedback on Pull Requests.
406
-
-**Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
407
-
408
-
## Slack Community
409
-
410
-
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
411
-
412
-
## Newsletter
413
-
414
-
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
415
-
416
-
## Office Hours
417
-
418
-
[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone!
Please use the [issue tracker](https://github.com/cloudposse/terraform-aws-ec2-instance/issues) to report any bugs or file feature requests.
438
356
439
-
### Developing
357
+
### 💻 Developing
440
358
441
-
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with our other projects, we would love to hear from you! Shoot us an [email][email].
359
+
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with Cloud Posse's other projects, we would love to hear from you! Shoot us an [email][email].
442
360
443
361
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
444
362
@@ -450,13 +368,43 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
450
368
451
369
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
452
370
371
+
### 🌎 Slack Community
453
372
454
-
## Copyright
373
+
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.
Work directly with our team of DevOps experts via email, slack, and video conferencing.
457
393
394
+
We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.
458
395
396
+
-**Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
397
+
-**Release Engineering.** You'll have end-to-end CI/CD with unlimited staging environments.
398
+
-**Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
399
+
-**Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
400
+
-**GitOps.** You'll be able to operate your infrastructure via Pull Requests.
401
+
-**Training.** You'll receive hands-on training so your team can operate what we build.
402
+
-**Questions.** You'll have a direct line of communication between our teams via a Shared Slack channel.
403
+
-**Troubleshooting.** You'll get help to triage when things aren't working.
404
+
-**Code Reviews.** You'll receive constructive feedback on Pull Requests.
405
+
-**Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
@@ -482,29 +430,12 @@ specific language governing permissions and limitations
482
430
under the License.
483
431
```
484
432
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
433
## Trademarks
494
434
495
435
All other trademarks referenced herein are the property of their respective owners.
496
-
497
-
## About
498
-
499
-
This project is maintained and funded by [Cloud Posse, LLC][website]. Like it? Please let us know by [leaving a testimonial][testimonial]!
500
-
501
-
[![Cloud Posse][logo]][website]
502
-
503
-
We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. We ❤️ [Open Source Software][we_love_open_source].
504
-
505
-
We offer [paid support][commercial_support] on all of our projects.
506
-
507
-
Check out [our other projects][github], [follow us on twitter][twitter], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation.[![README Footer][readme_footer_img]][readme_footer_link]
Copy file name to clipboardExpand all lines: docs/terraform.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@
88
88
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
89
89
| <aname="input_instance_initiated_shutdown_behavior"></a> [instance\_initiated\_shutdown\_behavior](#input\_instance\_initiated\_shutdown\_behavior)| Specifies whether an instance stops or terminates when you initiate shutdown from the instance. Can be one of 'stop' or 'terminate'. |`string`|`null`| no |
90
90
| <aname="input_instance_profile"></a> [instance\_profile](#input\_instance\_profile)| A pre-defined profile to attach to the instance (default is to build our own) |`string`|`""`| no |
91
+
| <aname="input_instance_profile_enabled"></a> [instance\_profile\_enabled](#input\_instance\_profile\_enabled)| Whether an IAM instance profile is created to pass a role to an Amazon EC2 instance when the instance starts |`bool`|`true`| no |
91
92
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| The type of the instance |`string`|`"t2.micro"`| no |
92
93
| <aname="input_ipv6_address_count"></a> [ipv6\_address\_count](#input\_ipv6\_address\_count)| Number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet (-1 to use subnet default) |`number`|`0`| no |
93
94
| <aname="input_ipv6_addresses"></a> [ipv6\_addresses](#input\_ipv6\_addresses)| List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
0 commit comments