func GetResourcesByStackName(stackname *string, svc *cloudformation.Client) []types.StackResource {
	params := &cloudformation.DescribeStackResourcesInput{
		StackName: stackname,
	}
	resp, err := svc.DescribeStackResources(context.TODO(), params)

	if err != nil {
		panic(err)
	}

	// Pretty-print the response data.
	return resp.StackResources
}
// GetResourcesByStackName returns a slice of the Stack Resources in the provided stack
GetResourcesByStackName returns a slice of the Stack Resources in the provided stack
// GetResourcesByStackName returns a slice of the Stack Resources in the provided stack
func GetResourcesByStackName(stackname *string, svc *cloudformation.Client) []types.StackResource {
	params := &cloudformation.DescribeStackResourcesInput{
		StackName: stackname,
	}
	resp, err := svc.DescribeStackResources(context.TODO(), params)
	if err != nil {
		panic(err)
	}
	return resp.StackResources
}
func GetResourcesByStackName ( stackname * string , svc * cloudformation . Client ) [ ] types . StackResource { params := & cloudformation . DescribeStackResourcesInput { StackName : stackname , } resp , err := svc . DescribeStackResources ( context . TODO ( ) , params ) if err != nil { panic ( err ) } return resp . StackResources }
GetResourcesByStackName returns a slice of the Stack Resources in the provided stack
GetResourcesByStackName returns a slice of the Stack Resources in the provided stack
// Pretty-print the response data.