INNER CODE UNIT · Go

main

eksctl-io/eksctl · pkg/goformation/generate/main.go:8

func main() {

	fmt.Printf("GoFormation Resource Generator\n")

	// Fetch and process the AWS published CloudFormation Resource Specification
	cloudformationSpec := "https://d1uauaxba7bl26.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json"

	otherSpecs := map[string]string{
		// We have a manually generated SAM specification in this repo too
		// which needs to be manually updated when the SAM spec changes
		"sam": "file://generate/sam-2016-10-31.json",
	}

	rg, err := NewResourceGenerator(cloudformationSpec, otherSpecs)
	if err != nil {
		fmt.Printf("ERROR: %s\n", err)
		os.Exit(1)
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…