Skip to content

Commit

Permalink
Merge pull request #63 from octopus20/master
Browse files Browse the repository at this point in the history
Update:: Identity module usage examples in README.md
  • Loading branch information
Binsabbar authored Nov 5, 2023
2 parents eb9af67 + 28455fc commit a79b960
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
20 changes: 10 additions & 10 deletions modules/identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ locals {
}

module "IAM" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = "oci.xxxxxxxxx.xxxxxx"
memberships = local.memberships
Expand Down Expand Up @@ -111,14 +111,14 @@ locals {
}
module "IAM" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE
tenant_id = "oci.xxxxxxxxx.xxxxxx"
memberships = local.memberships
}
module "idp_mapping" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE
tenant_id = "oci.xxxxxxxxx.xxxxxx"
identity_group_mapping = {
Expand Down Expand Up @@ -150,7 +150,7 @@ Service accounts are accounts that meant to used by machines. When a service acc

```h
module "IAM" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = "oci.xxxxxxxxx.xxxxxx"
service_accounts = {
Expand Down Expand Up @@ -201,7 +201,7 @@ locals {
}

module "top_level_compartments" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = local.tenant_id

Expand All @@ -223,7 +223,7 @@ module "top_level_compartments" {
}

module "child_compartments" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = local.tenant_id

Expand All @@ -246,7 +246,7 @@ Some policies must be attached to the tenancy itself, but not to a compartment.

```h
module "tenancy_policies" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = "oci.xxxxxxxxx.xxxxxx"
tenancy_policies = {
Expand Down Expand Up @@ -308,7 +308,7 @@ locals {
}

module "main_iam" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = local.tenant_id
memberships = local.memberships
Expand Down Expand Up @@ -338,7 +338,7 @@ module "main_iam" {
}

module "child_compartments" {
path = PATH_TO_MODULE
source = PATH_TO_MODULE

tenant_id = local.tenant_id

Expand All @@ -354,4 +354,4 @@ module "child_compartments" {
}
}
}
```
```
5 changes: 2 additions & 3 deletions releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* `identity`: add new argument `capabilities` in `var.service_accounts` variable.

## **Fix**
None
* Correct `path` argument by `source` argument to specify the module path in `identity` module usage examples in `README.md`.

## _**Breaking Changes**_
* `identity` modules input for `service_accounts` is updated. A new key `capabilities` is now required under `var.service_accounts.*`.
* Add `capabilities` and set its value to `{}`.
Expand All @@ -30,8 +31,6 @@ to:
>}
```
# v2.8.0:
## **New**
* `instances`: add new argument `availability_config`. for VM migration during infrastructure maintenance events
Expand Down

0 comments on commit a79b960

Please sign in to comment.