Skip to content

Commit

Permalink
Mo: add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Binsabbar committed Nov 5, 2023
1 parent 33914fb commit eb9af67
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
30 changes: 28 additions & 2 deletions modules/identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,20 @@ module "IAM" {
path = PATH_TO_MODULE

tenant_id = "oci.xxxxxxxxx.xxxxxx"
service_accounts = ["terraform-cli", "github-client"] # then using the service accout name, you can assign policy to the service account.
service_accounts = {
"terraform-cli" = {
name = "terraform-cli",
capabilities = {
api_keys = true
}
},
"github-client" = {
name = "github-client",
capabilities = {
smtp_credentials = true
}
}
}
}
```

Expand Down Expand Up @@ -276,7 +289,20 @@ locals {
]
}

service_accounts = ["terraform-cicd"]
service_accounts = {
"terraform-cli" = {
name = "terraform-cli",
capabilities = {
api_keys = true
}
},
"github-client" = {
name = "github-client",
capabilities = {
smtp_credentials = true
}
}
}

tenant_id = "oci.xxxxxxxxx.xxxxxx"
}
Expand Down
34 changes: 34 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# v2.9.0:
## **New**
* `identity`: add new argument `capabilities` in `var.service_accounts` variable.

## **Fix**
None
## _**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 `{}`.

from:
>```h
>module "identity" {
> ...
> service_accounts = toset(["terraform-cli"])
> ...
>}
>```
to:
>```h
>module "identity" {
> ...
> service_accounts = {
> "terraform-cli" = {
> name = "terraform-cli",
> capabilities = {}
> }
> }
> ...
>}
```
# v2.8.0:
## **New**
* `instances`: add new argument `availability_config`. for VM migration during infrastructure maintenance events
Expand Down

0 comments on commit eb9af67

Please sign in to comment.