Generic repository for a terraform module for AWS IAM user assumable roles
Module to create a AWS IAM role that can be assumable by users
Example usage:
module "ops_web_app_role" {
source = "github.com/diogoaurelio/terraform-module-aws-iam-assumable-role"
version = "v0.0.1"
account_id = "${data.aws_caller_identity.current.account_id}"
iam_role_name = "iam-role-ops-web-app"
}
Whenever you bump this module's version, please add a summary description of the changes performed, so that collaboration across developers becomes easier.
- version v0.0.1 - first module release
To update this module please follow the following proceedure:
- make your changes following the normal git workflow
- after merging the your changes to master, comes the most important part, namely versioning using tags:
git tag v0.0.2
- push the tag to the remote git repository:
git push origin master tag v0.0.2
brew install terraform
- In order to automatic format terraform code (and have it cleaner), we use pre-commit hook. To install pre-commit.
- Run pre-commit install to setup locally hook for terraform code cleanup.
pre-commit install
See the list of contributors who participated in this project.