Skip to content

Conversation

@Khuzaima05
Copy link
Member

@Khuzaima05 Khuzaima05 commented May 19, 2025

Description

updated validation for creating subnet

issue: https://ibm-cloudplatform.slack.com/archives/C05QTRFDETY/p1747644785230629

Release required?

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

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.

@Khuzaima05
Copy link
Member Author

/run pipeline

@ocofaigh
Copy link
Contributor

Tests fails with this:

         2025/05/19 11:21:33 Terraform apply | Error: InvalidRequest: Server Side Encryption with hs-crypto is not enabled.
         2025/05/19 11:21:33 Terraform apply | 	status code: 400, request id: 63319a51-d37d-488f-a236-9279851a0d00, host id: 
         2025/05/19 11:21:33 Terraform apply | 
         2025/05/19 11:21:33 Terraform apply |   with module.cos_buckets[0].module.buckets["vpc-da-fl-8fhald-flow-logs-bucket"].ibm_cos_bucket.cos_bucket[0],
         2025/05/19 11:21:33 Terraform apply |   on .terraform/modules/cos_buckets/main.tf line 122, in resource "ibm_cos_bucket" "cos_bucket":
         2025/05/19 11:21:33 Terraform apply |  122: resource "ibm_cos_bucket" "cos_bucket" {

Its unrelated to the changes made in this PR, but will need to be investigated to unblock pipeline

@ocofaigh
Copy link
Contributor

/run pipeline

1 similar comment
@Khuzaima05
Copy link
Member Author

/run pipeline

@Khuzaima05
Copy link
Member Author

Tests fails with this:

         2025/05/19 11:21:33 Terraform apply | Error: InvalidRequest: Server Side Encryption with hs-crypto is not enabled.
         2025/05/19 11:21:33 Terraform apply | 	status code: 400, request id: 63319a51-d37d-488f-a236-9279851a0d00, host id: 
         2025/05/19 11:21:33 Terraform apply | 
         2025/05/19 11:21:33 Terraform apply |   with module.cos_buckets[0].module.buckets["vpc-da-fl-8fhald-flow-logs-bucket"].ibm_cos_bucket.cos_bucket[0],
         2025/05/19 11:21:33 Terraform apply |   on .terraform/modules/cos_buckets/main.tf line 122, in resource "ibm_cos_bucket" "cos_bucket":
         2025/05/19 11:21:33 Terraform apply |  122: resource "ibm_cos_bucket" "cos_bucket" {

Its unrelated to the changes made in this PR, but will need to be investigated to unblock pipeline

Pipeline is failing in jp-osa region as jp-osa region does not support COS association with HPCS and hence we are facing that issue with COS bucket creation in JP-OSA region

Screenshot 2025-05-19 at 8 41 04 PM

@Khuzaima05
Copy link
Member Author

/run pipeline

Copy link
Contributor

@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.

Please either add logic like this to skip that region, or simply hard code to a region for any test with flow logs enabled.

Copy link
Contributor

@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.

see comments

@Khuzaima05
Copy link
Member Author

/run pipeline

@ocofaigh ocofaigh merged commit fd8c8cf into main May 19, 2025
2 checks passed
@ocofaigh ocofaigh deleted the fix-updated-validation-for-creating-subnet branch May 19, 2025 17:00
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 7.23.11 🎉

The release is available on:

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.

4 participants