File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "github.com/infracost/go-proto/pkg/tree/aws/apigateway"
77 "github.com/infracost/go-proto/pkg/tree/aws/apigatewayv2"
88 "github.com/infracost/go-proto/pkg/tree/aws/appautoscaling"
9+ "github.com/infracost/go-proto/pkg/tree/aws/cloudformation"
910 "github.com/infracost/go-proto/pkg/tree/aws/ec2"
1011)
1112
@@ -16,6 +17,7 @@ type AWS struct {
1617 APIGateway apigateway.APIGateway `tree:"apigateway"`
1718 APIGatewayV2 apigatewayv2.APIGatewayV2 `tree:"apigatewayv2"`
1819 AppAutoScaling appautoscaling.AppAutoScaling `tree:"appautoscaling"`
20+ CloudFormation cloudformation.CloudFormation `tree:"cloudformation"`
1921}
2022
2123func (aws * AWS ) PostProcess () {
Original file line number Diff line number Diff line change 1+ package cloudformation
2+
3+ type CloudFormation struct {
4+ Stacks []Stack `tree:"stacks,flatten"`
5+ StackSets []StackSet `tree:"stack_sets,flatten"`
6+ }
Original file line number Diff line number Diff line change 1+ package cloudformation
2+
3+ import (
4+ "github.com/infracost/go-proto/pkg/tree/resource"
5+ "github.com/infracost/go-proto/pkg/tree/value"
6+ )
7+
8+ type Stack struct {
9+ resource.Resource `tree:"-"`
10+ TemplateBody value.String `tree:"template_body"`
11+ }
Original file line number Diff line number Diff line change 1+ package cloudformation
2+
3+ import (
4+ "github.com/infracost/go-proto/pkg/tree/resource"
5+ "github.com/infracost/go-proto/pkg/tree/value"
6+ )
7+
8+ type StackSet struct {
9+ resource.Resource `tree:"-"`
10+ TemplateBody value.String `tree:"template_body"`
11+ }
You can’t perform that action at this time.
0 commit comments