Skip to content

Instantly share code, notes, and snippets.

@evanphx
Created July 18, 2014 19:31
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 evanphx/28f486c67c30bc94efb7 to your computer and use it in GitHub Desktop.
Save evanphx/28f486c67c30bc94efb7 to your computer and use it in GitHub Desktop.
packer amazon-ebs security group errors
zero :: config/packer> packer build -only=amazon-ebs vm.json
amazon-ebs output will be in this color.
==> amazon-ebs: Creating temporary keypair: packer 53c975ff-7621-655b-eecc-c0362fd9d8e2
==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Authorizing SSH access on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Error launching source instance: The security group 'sg-d304b9b6' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Error launching source instance: The security group 'sg-d304b9b6' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error launching source instance: The security group 'sg-d304b9b6' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> Builds finished but no artifacts were created.
zero :: config/packer> packer build -only=amazon-ebs vm.json
amazon-ebs output will be in this color.
==> amazon-ebs: Creating temporary keypair: packer 53c97603-bdc3-580e-dd2f-87cd51d8ba7d
==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Authorizing SSH access on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Error launching source instance: The security group 'sg-d204b9b7' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Error launching source instance: The security group 'sg-d204b9b7' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error launching source instance: The security group 'sg-d204b9b7' does not exist in VPC 'vpc-a14728ca' (InvalidGroup.NotFound)
==> Builds finished but no artifacts were created.
zero :: config/packer> packer build -only=amazon-ebs vm.json
amazon-ebs output will be in this color.
==> amazon-ebs: Creating temporary keypair: packer 53c9760c-8669-d9ee-9576-4350c8700b51
==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Authorizing SSH access on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
amazon-ebs: Instance ID: i-31dcce39
==> amazon-ebs: Waiting for instance (i-31dcce39) to become ready...
@jacob-webber
Copy link

Did you fix this by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment