-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unhardcodes region in aws module. allows user to specify their own re…
…gion but defaults to eu-west-1 if not set (#341) Co-authored-by: Josh Merritt <[email protected]>
- Loading branch information
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ module "cloud-key-rotator" { | |
* (Optional) `config_data = <string>` -> Pass a json blob from any source containing your config file. | ||
* (Optional) `enable_ssm_location = false` -> Whether to create an IAM policy allowing `ssm:PutParameter`. | ||
Set this to `true` if using SSM as a `cloud-key-rotator` location. | ||
* (Optional) `region = <string>` -> pass aws region. Defaults to `eu-west-1` if not set. | ||
|
||
## Usage - GCP | ||
|
||
|
@@ -95,7 +96,7 @@ EOF | |
service account and scheduler job names to prevent naming conflicts | ||
* (Optional) `ckr_schedule = "0 10 * * 1-5"` -> Defaults to triggering 10am Monday-Friday. | ||
* (Optional) `ckr_schedule_time_zone = "Europe/London"` -> The time zone for the scheduler job. Defaults to Europe/London | ||
* (Optional) `deploying_accounts = ["serviceAccount:[email protected]"]` -> Any accounts which | ||
will be deploying the CKR terraform but do not have the iam.serviceAccountUser permission for the whole project. This | ||
gives the supplied accounts iam.serviceAccountUser permissions for the Cloud Key Rotator service account which is | ||
* (Optional) `deploying_accounts = ["serviceAccount:[email protected]"]` -> Any accounts which | ||
will be deploying the CKR terraform but do not have the iam.serviceAccountUser permission for the whole project. This | ||
gives the supplied accounts iam.serviceAccountUser permissions for the Cloud Key Rotator service account which is | ||
necessary to deploy the terraform module. Defaults to an empty list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters