Skip to content

Commit

Permalink
Refactor stacks related to input SNS
Browse files Browse the repository at this point in the history
In preparation for dispatch related stacks
  • Loading branch information
philerooski committed May 10, 2024
1 parent 5216f97 commit 028b74f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions config/develop/namespaced/lambda-s3-event-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ template:
dependencies:
- develop/namespaced/lambda-s3-event-config-role.yaml
- develop/s3-cloudformation-bucket.yaml
- develop/namespaced/sns-topic.yaml
- develop/namespaced/sns-input.yaml
stack_name: '{{ stack_group_config.namespace }}-lambda-S3EventConfig'
stack_tags: {{ stack_group_config.default_stack_tags }}
parameters:
Namespace: {{ stack_group_config.namespace }}
S3ToGlueDestinationArn: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
S3ToGlueDestinationArn: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
S3ToGlueDestinationType: "Topic"
S3EventConfigRoleArn: !stack_output_external "{{ stack_group_config.namespace }}-lambda-s3-event-config-role::RoleArn"
S3SourceBucketName: {{ stack_group_config.input_bucket_name }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ parameters:
S3SourceBucketArn: !stack_output_external recover-dev-input-bucket::BucketArn
dependencies:
- develop/s3-input-bucket.yaml
stack_name: "{{ stack_group_config.namespace }}-sns-input-to-sqs"
stack_name: "{{ stack_group_config.namespace }}-sns-input"
stack_tags:
{{ stack_group_config.default_stack_tags }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ parameters:
MessageRetentionPeriod: "1209600"
ReceiveMessageWaitTimeSeconds: "20"
VisibilityTimeout: "120"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
dependencies:
- develop/namespaced/sns-topic.yaml
stack_name: '{{ stack_group_config.namespace }}-sqs-input-to-raw'
- develop/namespaced/sns-input.yaml
stack_name: '{{ stack_group_config.namespace }}-sqs-input-to-dispatch'
stack_tags:
{{ stack_group_config.default_stack_tags }}
4 changes: 2 additions & 2 deletions config/develop/namespaced/sqs-input-to-intermediate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ parameters:
MessageRetentionPeriod: "1209600"
ReceiveMessageWaitTimeSeconds: "20"
VisibilityTimeout: "120"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
dependencies:
- develop/namespaced/sns-topic.yaml
- develop/namespaced/sns-input.yaml
stack_name: "{{ stack_group_config.namespace }}-sqs-input-to-intermediate"
stack_tags:
{{ stack_group_config.default_stack_tags }}
4 changes: 2 additions & 2 deletions config/prod/namespaced/lambda-s3-event-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ template:
dependencies:
- prod/namespaced/lambda-s3-event-config-role.yaml
- prod/s3-cloudformation-bucket.yaml
- prod/namespaced/sns-topic.yaml
- prod/namespaced/sns-input.yaml
stack_name: '{{ stack_group_config.namespace }}-lambda-S3EventConfig'
stack_tags: {{ stack_group_config.default_stack_tags }}
parameters:
Namespace: {{ stack_group_config.namespace }}
S3ToGlueDestinationArn: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
S3ToGlueDestinationArn: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
S3ToGlueDestinationType: "Topic"
S3EventConfigRoleArn: !stack_output_external "{{ stack_group_config.namespace }}-lambda-s3-event-config-role::RoleArn"
S3SourceBucketName: {{ stack_group_config.input_bucket_name }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ parameters:
S3SourceBucketArn: !stack_output_external recover-input-bucket::BucketArn
dependencies:
- prod/s3-input-bucket.yaml
stack_name: "{{ stack_group_config.namespace }}-sns-input-to-sqs"
stack_name: "{{ stack_group_config.namespace }}-sns-input"
stack_tags:
{{ stack_group_config.default_stack_tags }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ parameters:
MessageRetentionPeriod: "1209600"
ReceiveMessageWaitTimeSeconds: "20"
VisibilityTimeout: "120"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
dependencies:
- prod/namespaced/sns-topic.yaml
stack_name: '{{ stack_group_config.namespace }}-sqs-input-to-raw'
- prod/namespaced/sns-input.yaml
stack_name: '{{ stack_group_config.namespace }}-sqs-input-to-dispatch'
stack_tags:
{{ stack_group_config.default_stack_tags }}
4 changes: 2 additions & 2 deletions config/prod/namespaced/sqs-input-to-intermediate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ parameters:
MessageRetentionPeriod: "1209600"
ReceiveMessageWaitTimeSeconds: "20"
VisibilityTimeout: "120"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input-to-sqs::SnsTopicArn"
SNSTopicSubscription: !stack_output_external "{{ stack_group_config.namespace }}-sns-input::SnsTopicArn"
dependencies:
- prod/namespaced/sns-topic.yaml
- prod/namespaced/sns-input.yaml
stack_name: "{{ stack_group_config.namespace }}-sqs-input-to-intermediate"
stack_tags:
{{ stack_group_config.default_stack_tags }}

0 comments on commit 028b74f

Please sign in to comment.