terraform-aws-modules / terraform-aws-ec2-instance

Terraform module to create AWS EC2 instance(s) resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws
Apache License 2.0
758 stars 1.88k forks source link

feat: Add `create_kms` variable #360

Closed junha-ahn closed 1 year ago

junha-ahn commented 1 year ago

Description

Add new variable create_kms variable it creates a new kms

Motivation and Context

356

For now, ec2 moudule just use key_name variable

If you input key_name, It find the (already exist) Key Pair on AWS. dosen't craete a new key pair, so you have to create key manually

So, I just add create_kms variable it creates a new kms

Breaking Changes

New Variable

New Output

How Has This Been Tested?

junha-ahn commented 1 year ago

Thank you!

github-actions[bot] commented 1 year ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.