Skip to content

Commit e812033

Browse files
committed
fix(terraform-templates): removing fifo_topic from aws-sns model
1 parent 13f9356 commit e812033

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

app/models/terraform_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ class IaCTemplateGenerationCloudFront(BaseModel):
115115
class IaCTemplateGenerationSNS(BaseModel):
116116

117117
sns_topic:bool = True
118-
fifo_topic:bool = False
119118
topic_policy:bool = True
120119
subscription:bool = True
121120

app/template_generators/terraform/aws/SNS.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
def IaC_template_generator_sns(input) -> str:
22

33
aws_sns_create_topic = 'true' if input.sns_topic else 'false'
4-
aws_sns_create_fifo_topic = 'true' if input.fifo_topic else 'false'
54
aws_sns_create_topic_policy = 'true' if input.topic_policy else 'false'
65
aws_sns_create_subscription = 'true' if input.subscription else 'false'
76

87
tfvars_file = f"""create = {aws_sns_create_topic}
9-
fifo_topic = {aws_sns_create_fifo_topic}
108
create_topic_policy = {aws_sns_create_topic_policy}
119
create_subscription = {aws_sns_create_subscription}
1210
"""

0 commit comments

Comments
 (0)