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

Cloud Guard Configuration resource is missing service_configurations but it's in the documentation pages #2276

Open
jeliker1 opened this issue Jan 17, 2025 · 1 comment
Labels
bug In-Progress Terraform Team is working on the reproduce & fix

Comments

@jeliker1
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version

Terraform v1.7.4
on darwin_arm64

  • provider registry.terraform.io/oracle/oci v6.21.0

Affected Resource(s)

affected_resources = oci_cloud_guard_cloud_guard_configuration

Terraform Configuration Files

resource "oci_cloud_guard_cloud_guard_configuration" "cloudguard" {
  #Required
  compartment_id   = local.tenancy_ocid
  reporting_region = var.region
  status           = "ENABLED"

  #Optional
  self_manage_resources = false
  service_configurations {
    #Required
    service_configuration_type = "INSTANCE_SECURITY"

    #Optional
    status = "ENABLED"
  }
}

Debug Output

 Error: Unsupported block type
│ 
│   on cloudguard.tf line 9, in resource "oci_cloud_guard_cloud_guard_configuration" "cloudguard":9:   service_configurations {
│ 
│ Blocks of type "service_configurations" are not expected here.

Panic Output

Expected Behavior

Block for service_configurations should be supported for resource oci_cloud_guard_cloud_guard_configuration as is shown in the provider documentation

Actual Behavior

Steps to Reproduce

  1. terraform apply
  2. Note error
    Error: Unsupported block type
    │ 
    │   on cloudguard.tf line 9, in resource "oci_cloud_guard_cloud_guard_configuration" "cloudguard":9:   service_configurations {
    │ 
    │ Blocks of type "service_configurations" are not expected here.
  3. Note documentation says this is supported (as per API as well)

Important Factoids

References

@jeliker1 jeliker1 added the bug label Jan 17, 2025
@tf-oci-pub tf-oci-pub added the In-Progress Terraform Team is working on the reproduce & fix label Jan 17, 2025
@tf-oci-pub
Copy link
Member

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug In-Progress Terraform Team is working on the reproduce & fix
Projects
None yet
Development

No branches or pull requests

2 participants