Skip to content

Commit

Permalink
Fix role name in RDS IAM required permissions (#513)
Browse files Browse the repository at this point in the history
* Fix docs

* v4.9.2 - Update change log
  • Loading branch information
wcmjunior authored Feb 29, 2024
1 parent eb9acfa commit fa831ec
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 4.9.2 (February 28, 2024)

It is safe to use this version with all `v4` control planes as long
as the new incompatible features are not used. These features require
a minimum version of the control plane and are detailed below.

The minimum control plane version required for full compatibility
with all the features in this release is `v4.12.0`.

See the list of incompatible attributes, data sources and resources
with previous `v4` control planes in the [`v4.9.0`](#490-january-31-2024)
release documentation.

### Documentation:

- Fix role name in RDS IAM required permissions ([#513](https://github.com/cyralinc/terraform-provider-cyral/pull/513))

## 4.9.1 (February 14, 2024)

It is safe to use this version with all `v4` control planes as long
Expand Down
10 changes: 5 additions & 5 deletions docs/guides/iam_auth_rds_pg.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ page_title: "Authentication from sidecar to RDS using an AWS IAM role"

-> **Note** This guide assumes you have an RDS PG instance that is
reachable from the subnets the sidecar will be deployed to. Make
sure you create the user in the database that corresponds to the role
created in this example and grant the `rds_iam` permission as shown
in the following command:
sure you create the user in the database that corresponds to the name of
the role created in this example and grant the `rds_iam` permission as
shown in the following command:

```
CREATE USER "arn:aws:iam::YOUR_AWS_ACCOUNT_NUM:role/my-sidecar_rds_access_role";
GRANT rds_iam TO "arn:aws:iam::YOUR_AWS_ACCOUNT_NUM:role/my-sidecar_rds_access_role";
CREATE USER "my-sidecar_rds_access_role";
GRANT rds_iam TO "my-sidecar_rds_access_role";
```

Use this guide to create the minimum required configuration in both Cyral
Expand Down
10 changes: 5 additions & 5 deletions templates/guides/iam_auth_rds_pg.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ page_title: "Authentication from sidecar to RDS using an AWS IAM role"

-> **Note** This guide assumes you have an RDS PG instance that is
reachable from the subnets the sidecar will be deployed to. Make
sure you create the user in the database that corresponds to the role
created in this example and grant the `rds_iam` permission as shown
in the following command:
sure you create the user in the database that corresponds to the name of
the role created in this example and grant the `rds_iam` permission as
shown in the following command:

```
CREATE USER "arn:aws:iam::YOUR_AWS_ACCOUNT_NUM:role/my-sidecar_rds_access_role";
GRANT rds_iam TO "arn:aws:iam::YOUR_AWS_ACCOUNT_NUM:role/my-sidecar_rds_access_role";
CREATE USER "my-sidecar_rds_access_role";
GRANT rds_iam TO "my-sidecar_rds_access_role";
```

Use this guide to create the minimum required configuration in both Cyral
Expand Down

0 comments on commit fa831ec

Please sign in to comment.