I hereby claim:
- I am kgmoore431 on github.
- I am kevin_moore (https://keybase.io/kevin_moore) on keybase.
- I have a public key ASBMA0ULQlcNsN19O5eLiJ4DuZWFqst3LqtDVIF0rCnVygo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Sample Usage | |
| # module "cloudability_iam_policy" { | |
| # is_payer = "true" # Optional - defaults to false | |
| # billing_bucket = "my-aws-bills" # Optional - defaults to "aws-bill-info" | |
| # cloudability_role_name = "CloudabilityRole" # Optional - defaults to CloudabilityRole | |
| # cloudability_arn = "arn:aws:iam::000000000000:user/cloudability" # Required | |
| # cloudability_external_id = "abc123a-zzzz-zzzz-zzzz-abc123abc123" # Required | |
| # source = "../modules/aws/iam/cloudability_iam" | |
| # } |
| #!/bin/bash | |
| user_name="$1" | |
| echo "Removing user: ${user_name}" | |
| echo "Deleting Access Keys:" | |
| keys=("$(aws iam list-access-keys --user-name "${user_name}" | jq -r '.AccessKeyMetadata[] | .AccessKeyId')") | |
| if [[ "${#keys}" -gt "0" ]]; then | |
| # shellcheck disable=SC2068 |
| #!/bin/bash | |
| user_name="$1" | |
| echo "Removing user: ${user_name}" | |
| echo "Deleting Access Keys:" | |
| keys=("$(aws iam list-access-keys --user-name "${user_name}" | jq -r '.AccessKeyMetadata[] | .AccessKeyId')") | |
| if [[ "${#keys}" -gt "0" ]]; then | |
| # shellcheck disable=SC2068 |
| 2017/04/10 14:26:27 [INFO] Terraform version: 0.9.2 6365269541c8e3150ebe638a5c555e1424071417+CHANGES | |
| 2017/04/10 14:26:27 [INFO] Go runtime version: go1.8 | |
| 2017/04/10 14:26:27 [INFO] CLI args: []string{"/Users/kmoore/Downloads/HashiCorp Toolz/terraform", "plan"} | |
| 2017/04/10 14:26:27 [DEBUG] Detected home directory from env var: /Users/kmoore | |
| 2017/04/10 14:26:27 [DEBUG] Detected home directory from env var: /Users/kmoore | |
| 2017/04/10 14:26:27 [DEBUG] Attempting to open CLI config file: /Users/kmoore/.terraformrc | |
| 2017/04/10 14:26:27 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2017/04/10 14:26:27 [DEBUG] Detected home directory from env var: /Users/kmoore | |
| 2017/04/10 14:26:27 [INFO] CLI command args: []string{"plan"} | |
| 2017/04/10 14:26:27 [DEBUG] command: loading backend config file: /Users/kmoore/Downloads/HashiCorp Toolz |