Skip to content

Commit

Permalink
chore: cleanup release (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-is-cool authored Oct 26, 2023
1 parent b4fdab6 commit add6250
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{".":"1.0.0"}
{
".": "0.0.0"
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# terraform-aws-rolesanywhere

This repository is used as an example of deploying rolesanywhere in AWS.

For more info, see:
https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html
8 changes: 3 additions & 5 deletions examples/complete/aws_login_rolesanywhere.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

# # This script should be sourced and not run as a shell script as it is setting environment variables
# # To run `. ./aws_login_rolesanywhere.sh <aws_access_key> <aws_secret_access_key> <aws_default_region> <aws_account_number> <aws_iam_role> <aws_username>`
# # This will give you a one hour session in the account of choice
# # It's recommended to create an alias to run this script vs manually entering the inputs each time
# This script should be sourced and not run as a shell script as it is setting environment variables
# This will give you a one hour session in the account of choice
# It's recommended to create an alias to run this script vs manually entering the inputs each time

# see https://github.com/aws/rolesanywhere-credential-helper?tab=readme-ov-file#credential-process for more info

Expand Down Expand Up @@ -110,4 +109,3 @@ echo "$cred" | jq .
export AWS_ACCESS_KEY_ID=$(echo $cred | jq -r .AccessKeyId)
export AWS_SECRET_ACCESS_KEY=$(echo $cred | jq -r .SecretAccessKey)
export AWS_SESSION_TOKEN=$(echo $cred | jq -r .SessionToken)
# export AWS_DEFAULT_REGION="us-gov-west-1"
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"release-type": "simple",
"separate-pull-requests": false,
"skip-github-release": false,
"versioning": "default"
"versioning": "default",
"release-as": "0.0.1"
}
}
}

0 comments on commit add6250

Please sign in to comment.