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 Terraform Cloud Operator #62

Open
aaroniscode opened this issue Jun 27, 2023 · 6 comments
Open

Add Terraform Cloud Operator #62

aaroniscode opened this issue Jun 27, 2023 · 6 comments
Assignees
Labels
good first issue Good for newcomers new application Request to add to the application catalog

Comments

@aaroniscode
Copy link
Contributor

Add Terraform Cloud Operator

@aaroniscode aaroniscode added good first issue Good for newcomers new application Request to add to the application catalog labels Jun 27, 2023
@Project-Xenith
Copy link

Hey! is this issue still open?

@aaroniscode
Copy link
Contributor Author

Hey! is this issue still open?

It is! Are you interested in contributing or are you looking for when this app will be added?

@Project-Xenith
Copy link

I am interested in contributing.

@aaroniscode
Copy link
Contributor Author

@Project-Xenith I've assigned the issue to you. To get started, you can look at how the AWS LB Controller is implemented: https://github.com/awslabs/eksdemo/tree/main/pkg/application/aws_lb_controller.

Once finished, you just add the application to cmd/install/install.go and cmd/install/uninstall.go.

Feel free to ask any questions in the comments. Thanks!

@Project-Xenith
Copy link

I am a bit confused with cmd/install/install.go and cmd/install/uninstall.go could you please describe it in detail, so that i can understand what is the main task here.

@aaroniscode
Copy link
Contributor Author

aaroniscode commented Jul 6, 2023

I am a bit confused with cmd/install/install.go and cmd/install/uninstall.go could you please describe it in detail, so that i can understand what is the main task here.

The main task is going to be creating an Application like https://github.com/awslabs/eksdemo/tree/main/pkg/application/aws_lb_controller. The install.go and uninstall.go just add your new application to the eksdemo commands.

For example, let's say you name the application terraform-cloud-operator. Then when you add the code in cmd/install/install.go with something like:

cmd.AddCommand(terraformcloudoperator.NewApp().NewInstallCmd())

There will now be a command eksdemo install terraform-cloud-operator. If you just create the Application and don't put it into install.go and uninstall.go there won't be any commands to install or uninstall it.

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new application Request to add to the application catalog
Projects
None yet
Development

No branches or pull requests

2 participants