Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Disable/Enable default access rules for Java Cloud Service instances #31

Open
scross01 opened this issue Jun 12, 2018 · 0 comments
Open
Labels
enhancement jcs Java Cloud Service

Comments

@scross01
Copy link
Contributor

scross01 commented Jun 12, 2018

Add attributes to enable/disable the default access rules created for a Java Cloud Service instance, similar to the Database Cloud Service resource default_access_rules

When a Java Cloud Service instance is created a set of default access rules are also created automatically and enabled by default. Add a default_access_rules block to the set the target state of these rules. After the instance has been created the default rules can be updated to the desired state, and changed or resource update using the Access Rule update API

e.g.

resource "oraclepaas_java_service_instance" "jcs" {
  ...
  default_access_rules {
    enable_otd_ssh = true
    enable_otd_admin_https = false
    enable_otd_content_http = false
    enable_otd_content_https = true
 
    enable_wls_ssh = true
    enable_wls_admin_https = false
    enable_wls_content_http = false
    enable_wls_content_https = true
  }
}
Attribute Name Rule Source Dest Description
enable_otd_ssh ora_p2otd_ssh PUBLIC-INTERNET OTD_OTD_SERVER Permit ssh access to nodes
enable_otd_admin_https ora_p2otd_ahttps PUBLIC-INTERNET OTD_OTD_SERVER Permit public access to https administration port
enable_otd_content_https ora_p2otd_chttps PUBLIC-INTERNET OTD_OTD_SERVER Permit public access to https content port
enable_otd_content_http ora_p2otd_chttp PUBLIC-INTERNET OTD_OTD_SERVER Permit public access to http content port
enable_wls_ssh ora_p2admin_ssh PUBLIC-INTERNET WLS_ADMIN Permit ssh access to nodes
enable_wls_admin_https ora_p2admin_ahttps PUBLIC-INTERNET WLS_ADMIN Permit public access to https administration port
enable_wls_content_http ora_p2ms_chttp PUBLIC-INTERNET WLS_MS Permit public access to https content port
enable_wls_content_https ora_p2ms_chttps PUBLIC-INTERNET WLS_MS Permit public access to https content port
@scross01 scross01 added enhancement jcs Java Cloud Service labels Jun 12, 2018
@mbfrahry mbfrahry added this to the v1.2.0 milestone Jun 13, 2018
@scross01 scross01 modified the milestones: v1.2.0, v1.3.0 Jun 20, 2018
@scross01 scross01 removed this from the v1.3.0 milestone Jul 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement jcs Java Cloud Service
Projects
None yet
Development

No branches or pull requests

2 participants