Skip to content

Conversation

@iamar7
Copy link
Member

@iamar7 iamar7 commented Apr 23, 2025

Description

Solutions for full-configurable have been added along with tests and documentation.

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.

@iamar7 iamar7 self-assigned this Apr 23, 2025
@iamar7
Copy link
Member Author

iamar7 commented Apr 23, 2025

/run pipeline

@iamar7
Copy link
Member Author

iamar7 commented Apr 23, 2025

/run pipeline

@iamar7
Copy link
Member Author

iamar7 commented Apr 23, 2025

/run pipeline

@iamar7 iamar7 marked this pull request as ready for review April 24, 2025 16:19
@iamar7 iamar7 requested a review from shemau as a code owner April 24, 2025 16:19
@iamar7
Copy link
Member Author

iamar7 commented Apr 24, 2025

We can have an initial review of the implementation but the CBR support needs to be added in the fully configurable DA which is being tracked in this PR before merge.

@ocofaigh
Copy link
Contributor

@iamar7 CBR PR just merged to the module

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

assert.NotNil(t, output, "Expected some output")
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

DA needs an upgrade test too

variable "provider_visibility" {
description = "Set the visibility value for the IBM terraform provider. Supported values are `public`, `private`, `public-and-private`. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/guides/custom-service-endpoints)."
type = string
default = "public"
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this not private?

- name: deploy-arch-ibm-cloud-monitoring
kind: solution
catalog_id: xxxx-xxxx-xxxx-xxxx-xxxxxxxx
offering_id: xxxx-xxxx-xxxx-xxxx-xxxxxxxx
Copy link
Contributor

Choose a reason for hiding this comment

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

73debdbf-894f-4c14-81c7-5ece3a70b67d

offerings:
- name: deploy-arch-ibm-cloud-monitoring
kind: solution
catalog_id: xxxx-xxxx-xxxx-xxxx-xxxxxxxx
Copy link
Contributor

Choose a reason for hiding this comment

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

7df1e4ca-d54c-4fd0-82ce-3d13247308cd

create_cloud_monitoring = var.existing_cloud_monitoring_crn == null
cloud_monitoring_crn = local.create_cloud_monitoring ? module.cloud_monitoring[0].crn : var.existing_cloud_monitoring_crn
cloud_monitoring_instance_name = "${local.prefix}${var.cloud_monitoring_instance_name}"
metrics_router_target_name = "${local.prefix}-${var.metrics_routing_target_name}"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this will result in a double dash?

ibm_catalog.json Outdated
}
},
{
"key": "enable_platform_metrics"
Copy link
Contributor

Choose a reason for hiding this comment

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

mark this as required

@iamar7
Copy link
Member Author

iamar7 commented Apr 25, 2025

/run pipeline

}))
})))
}))
description = "(Optional, list) List of context-based restrictions rules to create"
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to point to the markdown helper doc

Copy link
Contributor

Choose a reason for hiding this comment

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

Going to merge the PR as is and we can add this in a subsequent PR. Tracked in #26

@ocofaigh
Copy link
Contributor

/run pipeline

@ocofaigh
Copy link
Contributor

The test failed on destroy:

 2025/04/28 12:12:06 Terraform destroy | Error: ---
 2025/04/28 12:12:06 Terraform destroy | id: terraform-72679afc
 2025/04/28 12:12:06 Terraform destroy | summary: 'DeleteZoneWithContext failed: The network zone ''38e644d62da87a3b159f89312cbc737f''
 2025/04/28 12:12:06 Terraform destroy |   is referenced by one or more rules and cannot be deleted.'
 2025/04/28 12:12:06 Terraform destroy | severity: error
 2025/04/28 12:12:06 Terraform destroy | resource: ibm_cbr_zone
 2025/04/28 12:12:06 Terraform destroy | operation: delete
 2025/04/28 12:12:06 Terraform destroy | component:
 2025/04/28 12:12:06 Terraform destroy |   name: github.com/IBM-Cloud/terraform-provider-ibm
 2025/04/28 12:12:06 Terraform destroy |   version: 1.77.1
 2025/04/28 12:12:06 Terraform destroy | ---

Seems related to CBR zone and not code in the module. Will retry..

@ocofaigh
Copy link
Contributor

/run pipeline

@ocofaigh ocofaigh merged commit 19115cb into main Apr 28, 2025
2 checks passed
@ocofaigh ocofaigh deleted the 12594-fc branch April 28, 2025 15:48
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.2.0 🎉

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