Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 5, 2025
1 parent 2565a02 commit daccf36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions acmpca-iam-rolesanywhere/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ module "certificate" {
## optional
## certificate_subject_ou = "IAM RolesAnywhere EDL"
## validity_days = 30
## file_prefix = data.aws_iam_account_alias.current.account_alias
## file_prefix_seprator = "_"
## filename_prefix = data.aws_iam_account_alias.current.account_alias
## filename_prefix_seprator = "_"
tags = merge(
local.base_tags,
Expand All @@ -42,10 +42,10 @@ module "certificate" {
}
```

# Usage: file\_prefix and file\_prefix\_separator
# Usage: filename\_prefix and filename\_prefix\_separator
Use this if you want to clearly separate the output files for common role names across multiple accounts. A recommended value
here is the AWS Account Alias, which you can get from the `data` resource `aws_iam_account_alias.account_alias` (see example above).
If you pass a value, it will use this value along with the value of `file_prefix_separator` (by default, a dot). By default, the
If you pass a value, it will use this value along with the value of `filename_prefix_separator` (by default, a dot). By default, the
prefix is not used.

# Sample Output Fields
Expand Down
8 changes: 4 additions & 4 deletions acmpca-iam-rolesanywhere/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
* ## optional
* ## certificate_subject_ou = "IAM RolesAnywhere EDL"
* ## validity_days = 30
* ## file_prefix = data.aws_iam_account_alias.current.account_alias
* ## file_prefix_seprator = "_"
* ## filename_prefix = data.aws_iam_account_alias.current.account_alias
* ## filename_prefix_seprator = "_"
*
* tags = merge(
* local.base_tags,
Expand All @@ -42,10 +42,10 @@
* }
* ```
*
* # Usage: file_prefix and file_prefix_separator
* # Usage: filename_prefix and filename_prefix_separator
* Use this if you want to clearly separate the output files for common role names across multiple accounts. A recommended value
* here is the AWS Account Alias, which you can get from the `data` resource `aws_iam_account_alias.account_alias` (see example above).
* If you pass a value, it will use this value along with the value of `file_prefix_separator` (by default, a dot). By default, the
* If you pass a value, it will use this value along with the value of `filename_prefix_separator` (by default, a dot). By default, the
* prefix is not used.
*
* # Sample Output Fields
Expand Down

0 comments on commit daccf36

Please sign in to comment.