Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AWS::CodeBuild::Project.FilterGroup #4

Open
jlongtine opened this issue Apr 30, 2021 · 0 comments
Open

Fix AWS::CodeBuild::Project.FilterGroup #4

jlongtine opened this issue Apr 30, 2021 · 0 comments

Comments

@jlongtine
Copy link
Collaborator

jlongtine commented Apr 30, 2021

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-filtergroup.html

I'm making some assumptions in my code about what the sub-type should look like (namely, that it ought to be a struct... in this case it is a list of lists of structs... I need to remedy this.

I have custom code that is "repairing" this currently:

if name == "FilterGroups" && prop.ItemType == "FilterGroup" {

One additional piece of complexity...

    "AWS::CodeBuild::Project.FilterGroup": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-filtergroup.html",
      "ItemType": "WebhookFilter",
      "Required": false,
      "Type": "List",
      "UpdateType": "Mutable"
    },

That is in a section that should all be defined as Resources, but it is defined as a Property... So it won't load correctly into the go structs...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant