Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
add missing "option" comments to role-ci.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenmusumeche committed Dec 31, 2019
1 parent adac1de commit c64e970
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/role-ci.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
############################################################################
# OPTION(custom_roles): Create and use a custom Lambda role in Serverless. #
# This entire file can be commented out if you do not need a custom role. #
############################################################################

# Example of how to use policies from terraform-aws-serverless to create
# a developer/CI role that any user in the developer group can assume.
#
Expand Down Expand Up @@ -76,11 +81,13 @@ resource "aws_iam_role_policy_attachment" "ci_cd_lambdas" {
policy_arn = "${module.serverless.iam_policy_cd_lambdas_arn}"
}

# OPTION(vpc)
resource "aws_iam_role_policy_attachment" "ci_vpc" {
role = "${aws_iam_role.ci.name}"
policy_arn = "${module.serverless_vpc.iam_policy_ci_arn}"
}

# OPTION(canary)
resource "aws_iam_role_policy_attachment" "ci_canary" {
role = "${aws_iam_role.ci.name}"
policy_arn = "${module.serverless_canary.iam_policy_ci_arn}"
Expand Down

0 comments on commit c64e970

Please sign in to comment.