-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Add Support for DB Instance Role Associations #132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bridgecrew has found infrastructure configuration errors in this PR ⬇️
bc90aba
to
1babcf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change details
-
Error ID Change Path Resource BC_AWS_IAM_60 Added /main.tf aws_db_instance.default BC_AWS_GENERAL_46 Added /main.tf aws_db_instance.default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change details
-
Error ID Change Path Resource BC_AWS_GENERAL_46 Added /main.tf aws_db_instance.default BC_AWS_IAM_60 Added /main.tf aws_db_instance.default
7f26613
to
e64bb5f
Compare
3160966
to
f2bf4c1
Compare
/test all |
…ing known before apply).
/test all |
…s not being known before apply)." This reverts commit fe2d3ad.
/test all |
/test all |
…orm-aws-rds into feat/role-associations
/test all |
/test all |
1 similar comment
/test all |
… terraform_docs).
…orm-aws-rds into feat/role-associations
/test all |
versions.tf
Outdated
@@ -1,14 +1,10 @@ | |||
terraform { | |||
required_version = ">= 0.13.0" | |||
required_version = ">= 1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah. This is the first time we're doing this I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still have engagements using older versions. I think we'll need another approval on this if this is needed. Could you explain why this is being bumped to 1.0 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an issue with https://github.com/cloudposse/terraform-aws-s3-bucket/blob/6947cac37cdf809192f803d02cb87bce87dee35d/main.tf#L376 not being able to be determined when the module enabled=false
But yes, this is not ideal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did explain it briefly in the why section of my PR description
The comprehensive Terratest suite in examples/complete and test/src will only work with Terraform 1.0.0 and above, and otherwise will result in "count cannot be determined before apply" errors.
…orm-aws-rds into feat/role-associations
/test all |
…orm-aws-rds into feat/role-associations
/test all |
Bump! Is there anything blocking this PR from being merged, that we can help with? |
/test terratest |
/test test/terratest |
This pull request is now in conflict. Could you fix it @korenyoni? 🙏 |
|
||
module "role" { | ||
source = "cloudposse/iam-role/aws" | ||
version = "0.14.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version = "0.14.0" | |
version = "0.16.2" |
#source = "cloudposse/s3-bucket/aws" | ||
#version = "0.44.1" | ||
# TODO: remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we set these ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comments
/test test/terratest |
enabled = local.s3_integration_enabled | ||
|
||
acl = "private" | ||
policy = join("", data.aws_iam_policy_document.bucket_policy.*.json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may be causing the failure
what
1.0.0
(see below).why
examples/complete
andtest/src
will only work with Terraform1.0.0
and above, and otherwise will result in "count cannot be determined before apply" errors.references