Skip to content

Commit c0d004f

Browse files
authored
Merge pull request #61 from JBAnderson5/EBSsubmodules
updating identity, secret, and network submodules
2 parents 85164ff + 2162482 commit c0d004f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+764
-118
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,5 @@ If you enhance a module or build a new module and you would like to share your w
124124
## License
125125
The Cloud Foundation Library is released under the Universal Permissive License (UPL), Version 1.0. and so there are very few limitations on what you can do - please check the [LICENSE](LICENSE) file for full details.
126126

127+
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND
128+

cloud-foundation/modules/cloud-foundation-library/identity/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This module is a child module and can't be run directly. It needs a parent modul
4040
github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
4141
- github url - make sure to update the version tag to latest stable git tag version for initial deployment. If already deployed and you want to update the version, you need to validate that the new child module version works with your codebase and doesn't create dangerous resource changes, deletions, or creations
4242
```
43-
source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
43+
source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
4444
```
4545
- local path - this should be used if you are customizing the module. The actual path will need to be updated to where your child module resides relative to your parent module.
4646
```
@@ -118,4 +118,6 @@ The "custom_policy_permissions" variable should be used to list the policy permi
118118
We welcome your feedback. To post feedback, submit feature ideas or report bugs, please use the Issues section on this repository.
119119

120120
## <a name="known-issues"></a>Known Issues
121-
**At the moment, there are no known issues**
121+
**At the moment, there are no known issues**
122+
123+
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND

cloud-foundation/modules/cloud-foundation-library/identity/examples/basic/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
13

24

35

@@ -15,7 +17,7 @@
1517

1618
module "identity" {
1719
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
18-
# source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
20+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
1921
source = "../../module"
2022

2123
# tenancy level groups and policies

cloud-foundation/modules/cloud-foundation-library/identity/examples/basic/provider.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
14

25
#Auth Vars
36
variable "tenancy_ocid" {}

cloud-foundation/modules/cloud-foundation-library/identity/examples/basic/schema.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
title: "Empty Identity Stack"
2-
description: "This example stack shows the minimum configuration needed for the identity module"
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
5+
title: "Basic Identity Stack"
6+
description: "This example stack shows a basic configuration for the identity module"
37
schemaVersion: 1.1.0
48
version: "20190404"
59

cloud-foundation/modules/cloud-foundation-library/identity/examples/basic/test_assertions.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
13

24

35

cloud-foundation/modules/cloud-foundation-library/identity/examples/complex/main.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
13

24

35

@@ -15,7 +17,7 @@
1517

1618
module "core-identity" {
1719
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
18-
# source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
20+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
1921
source = "../../module"
2022

2123
# tenancy level groups and policies
@@ -38,7 +40,7 @@ module "core-identity" {
3840

3941
module "dept1-identity" {
4042
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
41-
# source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
43+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
4244
source = "../../module"
4345

4446

@@ -55,7 +57,7 @@ module "dept1-identity" {
5557
}
5658
module "dept1-app2" {
5759
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
58-
# source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
60+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
5961
source = "../../module"
6062

6163
# compartment structure
@@ -72,7 +74,7 @@ module "dept1-app2" {
7274

7375
module "dept2-identity" {
7476
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
75-
# source = https://github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=v1.2.0
77+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
7678
source = "../../module"
7779

7880

cloud-foundation/modules/cloud-foundation-library/identity/examples/complex/provider.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
14

25
#Auth Vars
36
variable "tenancy_ocid" {}

cloud-foundation/modules/cloud-foundation-library/identity/examples/complex/schema.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
15
title: "Empty Identity Stack"
26
description: "This example stack shows the minimum configuration needed for the identity module"
37
schemaVersion: 1.1.0
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Copyright © 2022, Oracle and/or its affiliates.
2+
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
5+
6+
# inputs
7+
8+
9+
# outputs
10+
11+
12+
# logic
13+
14+
15+
# resource or mixed module blocks
16+
17+
18+
module "identity" {
19+
# pick a source type - github url with path and git tag is recommended for production code. local path is used for sub-module development and customization
20+
# source = "github.com/oracle-devrel/terraform-oci-oracle-cloud-foundation//cloud-foundation/modules/cloud-foundation-library/identity/module?ref=<input latest git tag>"
21+
source = "../../module"
22+
23+
# tenancy level groups and policies
24+
create_announcement_persona = true
25+
create_auditor_persona = true
26+
create_cost_persona = true
27+
create_general_persona = true
28+
create_identity_persona = true
29+
30+
# compartment structure
31+
tenancy_ocid = var.tenancy_ocid
32+
enclosing_compartment_name = "department"
33+
prefix = "MyDepartment"
34+
35+
36+
# Standard IT compartments, groups, and policies
37+
create_application_persona = true
38+
application_name = "MyApp"
39+
application_environments = ["Prod", "Non-Prod"]
40+
create_database_persona = true
41+
create_network_persona = true
42+
create_security_persona = true
43+
44+
45+
# devops
46+
enable_devops = true
47+
48+
enable_build_pipelines = true
49+
enable_mirrored_repos = true
50+
enable_external_repos = true
51+
enable_managed_builds = true
52+
enable_artifact_delivery = true
53+
enable_trigger_deployment = true
54+
enable_ADM = true
55+
56+
enable_deploy_pipelines = true
57+
target_environment_compute = true
58+
target_environment_functions = true
59+
target_environment_OKE = true
60+
61+
}

0 commit comments

Comments
 (0)