Skip to content

Commit b43d633

Browse files
author
Rahul M R
committed
PR Fixes
1 parent 9ec7210 commit b43d633

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

oci-config-examples/oci_devops_policy_dg_terraform/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ ALL {resource.type = 'devopsrepository', resource.compartment.id = 'ocid1.compar
4545
- Create a policy with below statements.
4646
4747
```
48-
Allow dynamic-group "<DG Name>" to manage repos in c"<Compartment Name>"
49-
Allow dynamic-group "<DG Name>" to read secret-family in c"<Compartment Name>"
50-
Allow dynamic-group "<DG Name>" to manage devops-family in c"<Compartment Name>"
51-
Allow dynamic-group "<DG Name>" to manage generic-artifacts in c"<Compartment Name>"
52-
Allow dynamic-group "<DG Name>" to use ons-topics in c"<Compartment Name>"
53-
Allow dynamic-group "<DG Name>" to read secret-family in c"<Compartment Name>"
48+
Allow dynamic-group "<DG Name>" to manage repos in compartment "<Compartment Name>"
49+
Allow dynamic-group "<DG Name>" to read secret-family in compartment "<Compartment Name>"
50+
Allow dynamic-group "<DG Name>" to manage devops-family in compartment "<Compartment Name>"
51+
Allow dynamic-group "<DG Name>" to manage generic-artifacts in compartment "<Compartment Name>"
52+
Allow dynamic-group "<DG Name>" to use ons-topics in compartment "<Compartment Name>"
53+
Allow dynamic-group "<DG Name>" to read secret-family in compartment "<Compartment Name>"
5454
```
5555
5656
- Create a devops project - https://docs.oracle.com/en-us/iaas/Content/devops/using/create_project.htm#create_a_project
@@ -145,7 +145,7 @@ $ Edit remote-backend_template.tf and update the endpoint.
145145
146146
![](images/oci_coderepo.png)
147147
148-
- Let us do a build manual invokation.
148+
- Let us do a manual build run.
149149
150150
![](images/oci_build_run_1.png)
151151

oci-config-examples/oci_devops_policy_dg_terraform/build_spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ env:
1111
# the value of a vaultVariable is the secret-id (in OCI ID format) stored in the OCI Vault service
1212
# you can then access the value of that secret in your build_spec.yaml commands
1313
vaultVariables:
14-
aws_access_key_id: ocid1.vaultsecret.oc1.iad.amaaaaaak56z2vqaqsdelia6iiagjmtuok43w7ipklqwahwbwqvye52n74va
15-
aws_secret_access_key: ocid1.vaultsecret.oc1.iad.amaaaaaak56z2vqa6vmu7h3ud3thzm7emsdb7fptb7zqmise2qlhx7xtehza
14+
aws_access_key_id: ocid1.vaultsecret.oc1.iad.xxxx
15+
aws_secret_access_key: ocid1.vaultsecret.oc1.iad.yyyy
1616

1717

1818

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
mr-prod-compartment=ocid1.compartment.oc1..aaaaaaaaexvr2lxjc5qjf7sfjemsyb7tbsgei3iplysjffslpnkqypx2sbmq
2-
mr-devops-canary=ocid1.compartment.oc1..aaaaaaaaievlqkktpe5yumlanr64gnzgi2vokbhrsuz2sddcjooewbqqj5ha
1+
mr-prod-compartment=ocid1.compartment.oc1..xxxx
2+
mr-devops-canary=ocid1.compartment.oc1..fffff
-16.9 KB
Loading
-19.6 KB
Loading

oci-config-examples/oci_devops_policy_dg_terraform/terraform/compartment_scope/remote-backend_template.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
bucket = "mr-prod-objectstore-for-terraform"
44
key = "${compartment_name}/terraform.tfstate"
55
region = "us-ashburn-1"
6-
endpoint = "https://fahdabidiroottenancy.compat.objectstorage.us-ashburn-1.oraclecloud.com"
6+
endpoint = "https://NAMESPACE.compat.objectstorage.REGION.oraclecloud.com"
77
shared_credentials_file = "./cred_store"
88
skip_region_validation = true
99
skip_credentials_validation = true

oci-config-examples/oci_devops_policy_dg_terraform/terraform/compartment_scope/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ variable region{
2121

2222
variable tenancy_ocid{
2323
type = string
24-
default = "ocid1.tenancy.oc1..aaaaaaaasu7rvefmsyk5kqczfmdqi5clpddejfjk2attdqnk6sbk72wajq5q"
24+
default = "ocid1.tenancy.oc1..ccccc"
2525
}

oci-config-examples/oci_devops_policy_dg_terraform/terraform/tenancy_scope/remote-backend_template.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
bucket = "mr-prod-objectstore-for-terraform"
44
key = "root_${compartment_name}/terraform.tfstate"
55
region = "us-ashburn-1"
6-
endpoint = "https://fahdabidiroottenancy.compat.objectstorage.us-ashburn-1.oraclecloud.com"
6+
endpoint = "https://TENANCY.compat.objectstorage.REGION.oraclecloud.com"
77
shared_credentials_file = "./cred_store"
88
skip_region_validation = true
99
skip_credentials_validation = true

oci-config-examples/oci_devops_policy_dg_terraform/terraform/tenancy_scope/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ variable region {
1717

1818
variable tenancy_ocid{
1919
type = string
20-
default = "ocid1.tenancy.oc1..aaaaaaaasu7rvefmsyk5kqczfmdqi5clpddejfjk2attdqnk6sbk72wajq5q"
20+
default = "ocid1.tenancy.oc1..CCCC"
2121
}

0 commit comments

Comments
 (0)