Skip to content

Conversation

@Marcusk19
Copy link
Contributor

  • adds letsencrypt cert to quay_cert.tf
  • add ALB to ELB routing
  • adds unecessary infrastructure files to .gitignore
  • add builder config to deployments with clair enabled
  • bounce AWS provider

* adds letsencrypt cert to quay_cert.tf
* add ALB to ELB routing
* adds unecessary infrastructure files to .gitignore
* add builder config to deployments with clair enabled
* bounce AWS provider

/* TODO: Add IPs of ELB automatically to the target group */
# Use this to get the resource of the ELB using the tag created by k8s
data "aws_resourcegroupstaggingapi_resources" "quay_elb" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the service is not created until we apply the generated yaml file. So this is a circular dependency

Copy link
Collaborator

Choose a reason for hiding this comment

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

One solution to this would be to include the kubectl apply in the terraform logic. Having a null_resource dependency with local-exec should allow you to do that

https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec

@Marcusk19 Marcusk19 closed this Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants