Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keypair resource to enable access to ec2 instance #3

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

rabajaj0509
Copy link
Contributor

This pull request aims to enhance the provisioning process of an EC2 instance by introducing customizable variables. With this PR, users can now define their preferred configurations while creating an EC2 instance. Specifically, it ensures that users with a public key located at ~/.ssh/skywalking-terraform.pub can successfully create an EC2 instance.

@rabajaj0509
Copy link
Contributor Author

@kezhenxu94 is there anything I am missing in the process of creating an EC2 instance via Terraform?

@kezhenxu94 kezhenxu94 self-requested a review June 9, 2023 01:27
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, some more improvements might come later after this PR:

  1. allow users to add more extra tags to ALL resources created by Terraform, this can be done by adding a var in variables.tf. Some enterprises enforces specific tags when creating resources in AWS, otherwise it fails weirdly.
  2. we can also add a variable to switch whether creating the key pair or not, this can be especially useful for new installation

@kezhenxu94
Copy link
Member

@rabajaj0509 if you want me to merge this PR at this time and do the improvements in later PR, please let me know

@rabajaj0509
Copy link
Contributor Author

@kezhenxu94 Let's get this one in. I will make these improvements one at a time in the upcoming pull requests.

@kezhenxu94 kezhenxu94 merged commit e95f942 into apache:main Jun 9, 2023
@kezhenxu94 kezhenxu94 added this to the 0.1.0 milestone Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants