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

terraform: azure remove unused lb backends #3270

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

3u13r
Copy link
Member

@3u13r 3u13r commented Jul 23, 2024

Context

This is a prerequisite for ignoring changes to the load balancer backends attached to the NICs of the VMs in #3257
They need to be ignored since K8s LBs also creates a new backend which is attached to the NICs of the VMs. See https://github.com/edgelesssys/constellation/actions/runs/10032636133 for the error currently occurring on the other PR.

Proposed change(s)

  • Remove unused load balancer backends

upgrade test, azure:
https://github.com/edgelesssys/constellation/actions/runs/10067834089
https://github.com/edgelesssys/constellation/actions/runs/10086213264

Additional info

This is part of a larger story, where we fix the issue that K8s LBs change the state of the cloud resources tracked in Terraform, which results in a diff of the state and issues when upgrading Constellation.

For the missing dependencies in Azure, see: hashicorp/terraform-provider-azurerm#4398 (comment)

Checklist

  • Run the E2E tests that are relevant to this PR's changes
  • Add labels (e.g., for changelog category)
  • Link to Milestone

@3u13r 3u13r added the no changelog Change won't be listed in release changelog label Jul 23, 2024
@3u13r 3u13r added this to the v2.18.0 milestone Jul 23, 2024
Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for constellation-docs canceled.

Name Link
🔨 Latest commit 452bdf3
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/66a2b82c47faea0008173cc9

@3u13r 3u13r force-pushed the ref/terraform/azure-remove-unused-lb-backends branch 3 times, most recently from 7f0af4d to a22c79b Compare July 25, 2024 10:37
@3u13r 3u13r marked this pull request as ready for review July 25, 2024 10:37
terraform/infrastructure/azure/main.tf Outdated Show resolved Hide resolved
@3u13r 3u13r force-pushed the ref/terraform/azure-remove-unused-lb-backends branch from a22c79b to 452bdf3 Compare July 25, 2024 20:40
@3u13r 3u13r merged commit f4e6c91 into main Jul 25, 2024
7 checks passed
@3u13r 3u13r deleted the ref/terraform/azure-remove-unused-lb-backends branch July 25, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Change won't be listed in release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants