terraform-ibm-modules / terraform-ibm-landing-zone-vpc

Creates virtual servers across subnets in a single VPC connected by a single security group. Supports floating IP addresses and multiple load balancers.
Apache License 2.0
5 stars 13 forks source link

fix: vpc data full output on first apply #781

Closed jor2 closed 5 months ago

jor2 commented 6 months ago

Description

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

https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/issues/777

Release required?

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

For mergers

surajsbharadwaj commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

/run pipeline

surajsbharadwaj commented 5 months ago

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

jor2 commented 5 months ago

/run pipeline

jor2 commented 5 months ago

/run pipeline

terraform-ibm-modules-ops commented 5 months ago

:tada: This PR is included in version 7.18.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: