Skip to content

Commit 24a22cb

Browse files
authored
fix: Add missing fields to aws_iam_policies (#2005)
This adds `policy_version_list` as a JSON column (it was a separate table before). Closes #1980
1 parent 4ea6026 commit 24a22cb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

plugins/source/aws/codegen/recipes/iam.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func IAMResources() []*Resource {
186186
},
187187
{
188188
SubService: "policies",
189-
Struct: &types.Policy{},
189+
Struct: &types.ManagedPolicyDetail{},
190190
SkipFields: []string{"PolicyId", "Tags"},
191191
ExtraColumns: []codegen.ColumnDefinition{
192192
{

plugins/source/aws/resources/services/iam/policies.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)