Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "bootstrap", Description: `The bootstrap command will create a cloudformation stack that deploys an S3 bucket in your account and return the bucket name. Bootstrapping is required because Cloudformation requires that resources from S3 be in the same region as the cloudfromation stack. When deploying a provider you must first copy the provider resources from the Provider Registry to your AWS account in the region that you will be deploying the provider.`, Usage: "Bootstrap your AWS account to deploy a provider", Action: func(c *cli.Context) error { ctx := c.Context awsContext, err := middleware.AWSContextFromContext(ctx) if err != nil { return err } bs := bootstrapper.NewFromConfig(awsContext.Config) if err != nil { return err } bucket, err := bs.GetOrDeployBootstrapBucket(ctx) if err != nil { return err } clio.Successf("bootstrap bucket created: %s", bucket.AssetsBucket) return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.