Skip to content

Commit 75b9785

Browse files
authored
fix(aws): Change column type of aws_cloudformation_stack_templates.template_body (#10752)
#### Summary Change from type string to type JSON. This is not a breaking change because the resource has never been released
1 parent 5b49481 commit 75b9785

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

plugins/source/aws/resources/services/cloudformation/stack_templates.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ func stackTemplates() *schema.Table {
2929
PrimaryKey: true,
3030
},
3131
},
32+
{
33+
Name: "template_body",
34+
Type: schema.TypeJSON,
35+
Resolver: schema.PathResolver("TemplateBody"),
36+
},
3237
},
3338
}
3439
}

website/tables/aws/aws_cloudformation_stack_templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ This table depends on [aws_cloudformation_stacks](aws_cloudformation_stacks).
2121
|account_id|String|
2222
|region|String|
2323
|stack_arn (PK)|String|
24-
|stages_available|StringArray|
25-
|template_body|String|
24+
|template_body|JSON|
25+
|stages_available|StringArray|

0 commit comments

Comments
 (0)