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

fix: vpc data full output on first apply #781

Merged
merged 8 commits into from
May 14, 2024
Merged

fix: vpc data full output on first apply #781

merged 8 commits into from
May 14, 2024

Conversation

jor2
Copy link
Member

@jor2 jor2 commented May 8, 2024

Description

vpc_data: output var in patterns vsi module does not give complete output on first apply

terraform-ibm-modules/terraform-ibm-landing-zone#777

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

fix for vpc_data: output var in patterns vsi module does not give complete output on first apply.

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@jor2 jor2 self-assigned this May 8, 2024
@jor2 jor2 marked this pull request as ready for review May 8, 2024 12:49
Copy link
Member

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

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

Perhaps we could add a test which would of caught this. For example take a look at the logic here which is checking the output of the code that runs in the test to ensure it contains certain values.

@surajsbharadwaj
Copy link

Hello Team,

Any target date for this to get fixed ? Our new architecture relies on the subnet groups ids required for VPN and ALB creation.

@jor2
Copy link
Member Author

jor2 commented May 13, 2024

Hello Team,

Any target date for this to get fixed ? Our new architecture relies on the subnet groups ids required for VPN and ALB creation.

Hi @surajsbharadwaj, sorry for the delay I was on holidays last week. I'll get it reviewed and hopefully merged and released tomorrow.

@jor2
Copy link
Member Author

jor2 commented May 13, 2024

Perhaps we could add a test which would of caught this. For example take a look at the logic here which is checking the output of the code that runs in the test to ensure it contains certain values.

vpc_data previously wasn't included in the outputs for the default example. Now that it is included won't RunTestConsistency catch if there is an issue on reapply?

@jor2
Copy link
Member Author

jor2 commented May 14, 2024

/run pipeline

@surajsbharadwaj
Copy link

@jor2 welcome thank. Thank you for prioritising this work. :)

@jor2
Copy link
Member Author

jor2 commented May 14, 2024

/run pipeline

@jor2 jor2 requested a review from ocofaigh May 14, 2024 10:19
@jor2
Copy link
Member Author

jor2 commented May 14, 2024

/run pipeline

@ocofaigh ocofaigh merged commit 069d418 into main May 14, 2024
2 checks passed
@ocofaigh ocofaigh deleted the test branch May 14, 2024 10:52
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 7.18.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants