File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ destroy: workspace
5353 $(tf_cmd ) workspace select default
5454 $(tf_cmd ) workspace delete $(sub_environment )
5555
56+ graph : workspace
57+ $(tf_cmd ) graph
58+
5659output :
5760 $(tf_cmd ) output -raw $(name )
5861
Original file line number Diff line number Diff line change @@ -258,6 +258,7 @@ resource "aws_iam_role" "fifo_pipe_role" {
258258 ]
259259 })
260260}
261+
261262resource "aws_iam_policy" "fifo_pipe_policy" {
262263 name = " ${ local . short_prefix } -fifo-pipe-policy"
263264 policy = jsonencode ({
@@ -356,6 +357,10 @@ resource "aws_pipes_pipe" "fifo_pipe" {
356357 log_group_arn = aws_cloudwatch_log_group. pipe_log_group . arn
357358 }
358359 }
360+
361+ depends_on = [
362+ aws_iam_role_policy_attachment . fifo_pipe_policy_attachment
363+ ]
359364}
360365
361366# Custom Log Group
Original file line number Diff line number Diff line change @@ -262,6 +262,10 @@ resource "aws_s3_bucket_notification" "config_lambda_notification" {
262262 lambda_function_arn = aws_lambda_function. redis_sync_lambda . arn
263263 events = [" s3:ObjectCreated:*" ]
264264 }
265+
266+ depends_on = [
267+ aws_lambda_function . redis_sync_lambda
268+ ]
265269}
266270
267271# Permission for the new S3 bucket to invoke the Lambda function
Original file line number Diff line number Diff line change 2323import semver
2424
2525SCRIPT_LOCATION = os .path .join (os .path .dirname (os .path .abspath (__file__ )))
26- REPO_ROOT = os .path .abspath (os .path .join (SCRIPT_LOCATION , ".." ))
26+ REPO_ROOT = os .path .abspath (os .path .join (SCRIPT_LOCATION , "../.. " ))
2727REPO = git .Repo (REPO_ROOT )
2828
2929
You can’t perform that action at this time.
0 commit comments