[CLOUDS-7599] Remove default seclists from VCNs to prevent opening port 22 unnecessarily#99
Conversation
2e35b0f to
c46e74f
Compare
| nat_gateway_display_name = local.nat_gateway | ||
| create_service_gateway = true | ||
| service_gateway_display_name = local.service_gateway | ||
| } |
There was a problem hiding this comment.
we don't modify the datadog-oci-orm stuff anymore. Not sure if it's dead code (can ask Shallav when he's back), but for this PR we should remove the changes on this folder
| service_gateway_display_name = local.service_gateway | ||
| } | ||
|
|
||
| resource "oci_core_default_security_list" "dd_default" { |
There was a problem hiding this comment.
Just because terraform behavior can sometimes deviate from OCI (even though extremely unlikely), probably best to at least run a "terraform plan" with these changes locally to verify. You can use the module generated here: https://dd.datad0g.com/integrations/oracle-cloud-infrastructure/add
And just reroute it to point to your local version
|
We'll also need to do a stack release for these changes which I believe is documented here: https://datadoghq.atlassian.net/wiki/spaces/ECI/pages/4486660723/ECI+Stack+deploy After that, best to confirm that the new release contains your changes and works as intended |
|
In a similar vein - it might be worth setting |
|
@bengillmandd I can try that. Claude's analysis was that setting |
|
@cale-at-ddog Is this a duplicate of #86 (comment) ? |
|
@christianbagley-mke Yes, I think they are closely related. |
c46e74f to
d0f35cd
Compare
What
Remove the default Seclist rules from the VCN (as described here: https://registry.terraform.io/modules/oracle-terraform-modules/vcn/oci/latest/examples/hub-spoke?tab=inputs)
Why
So that Quickstart doesn't leave port 22 open in the VCN
Testing
Validated in dddevintegration1 against staging