Skip to content

Instantly share code, notes, and snippets.

@ahmad2x4
Created May 18, 2020 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmad2x4/6a56e6e9977b88edbb1de5304339e9e2 to your computer and use it in GitHub Desktop.
Save ahmad2x4/6a56e6e9977b88edbb1de5304339e9e2 to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 4
const ebAppDeployBucket = new aws.s3.Bucket("eb-app-deploy", {});
const ebAppDeployObject = new aws.s3.BucketObject("default", {
bucket: ebAppDeployBucket.id,
key: "deployment.zip",
source: new pulumi.asset.FileAsset("../deployment.zip"),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment