Skip to content

Instantly share code, notes, and snippets.

@muhammad-ammar
Last active July 4, 2017 07:11
Show Gist options
  • Save muhammad-ammar/a34ef93a70896673013f38b8ed63fa23 to your computer and use it in GitHub Desktop.
Save muhammad-ammar/a34ef93a70896673013f38b8ed63fa23 to your computer and use it in GitHub Desktop.
terraform apply error
~/Documents/edx/terraform apply
aws_s3_bucket.store_bucket: Creating...
acceleration_status: "" => "<computed>"
acl: "" => "private"
arn: "" => "<computed>"
bucket: "" => "videoimage-vedastore"
bucket_domain_name: "" => "<computed>"
force_destroy: "" => "false"
hosted_zone_id: "" => "<computed>"
region: "" => "<computed>"
request_payer: "" => "<computed>"
versioning.#: "" => "<computed>"
website_domain: "" => "<computed>"
website_endpoint: "" => "<computed>"
aws_s3_bucket.deliver_bucket: Creating...
acceleration_status: "" => "<computed>"
acl: "" => "public-read"
arn: "" => "<computed>"
bucket: "" => "videoimage-vedadeliver"
bucket_domain_name: "" => "<computed>"
cors_rule.#: "" => "1"
cors_rule.0.allowed_headers.#: "" => "1"
cors_rule.0.allowed_headers.0: "" => "*"
cors_rule.0.allowed_methods.#: "" => "4"
cors_rule.0.allowed_methods.0: "" => "PUT"
cors_rule.0.allowed_methods.1: "" => "POST"
cors_rule.0.allowed_methods.2: "" => "GET"
cors_rule.0.allowed_methods.3: "" => "HEAD"
cors_rule.0.allowed_origins.#: "" => "3"
cors_rule.0.allowed_origins.0: "" => "https://studio-videoimage.sandbox.edx.org"
cors_rule.0.allowed_origins.1: "" => "https://videoimage.sandbox.edx.org"
cors_rule.0.allowed_origins.2: "" => "https://preview-videoimage.sandbox.edx.org"
cors_rule.0.expose_headers.#: "" => "1"
cors_rule.0.expose_headers.0: "" => "ETag"
cors_rule.0.max_age_seconds: "" => "3000"
force_destroy: "" => "false"
hosted_zone_id: "" => "<computed>"
region: "" => "<computed>"
request_payer: "" => "<computed>"
versioning.#: "" => "<computed>"
website_domain: "" => "<computed>"
website_endpoint: "" => "<computed>"
aws_s3_bucket.upload_bucket: Creating...
acceleration_status: "" => "<computed>"
acl: "" => "public-read"
arn: "" => "<computed>"
bucket: "" => "videoimage-vedaupload"
bucket_domain_name: "" => "<computed>"
cors_rule.#: "" => "1"
cors_rule.0.allowed_headers.#: "" => "1"
cors_rule.0.allowed_headers.0: "" => "*"
cors_rule.0.allowed_methods.#: "" => "4"
cors_rule.0.allowed_methods.0: "" => "PUT"
cors_rule.0.allowed_methods.1: "" => "POST"
cors_rule.0.allowed_methods.2: "" => "GET"
cors_rule.0.allowed_methods.3: "" => "HEAD"
cors_rule.0.allowed_origins.#: "" => "1"
cors_rule.0.allowed_origins.0: "" => "https://studio-videoimage.sandbox.edx.org"
cors_rule.0.expose_headers.#: "" => "1"
cors_rule.0.expose_headers.0: "" => "ETag"
cors_rule.0.max_age_seconds: "" => "3000"
force_destroy: "" => "false"
hosted_zone_id: "" => "<computed>"
region: "" => "<computed>"
request_payer: "" => "<computed>"
versioning.#: "" => "<computed>"
website_domain: "" => "<computed>"
website_endpoint: "" => "<computed>"
aws_security_group.veda_sec_sandbox: Creating...
description: "" => "VEDA Sandbox Sec Group"
egress.#: "" => "1"
egress.482069346.cidr_blocks.#: "" => "1"
egress.482069346.cidr_blocks.0: "" => "0.0.0.0/0"
egress.482069346.from_port: "" => "0"
egress.482069346.ipv6_cidr_blocks.#: "" => "0"
egress.482069346.prefix_list_ids.#: "" => "0"
egress.482069346.protocol: "" => "-1"
egress.482069346.security_groups.#: "" => "0"
egress.482069346.self: "" => "false"
egress.482069346.to_port: "" => "0"
ingress.#: "" => "1"
ingress.1811147003.cidr_blocks.#: "" => "1"
ingress.1811147003.cidr_blocks.0: "" => "172.16.12.32/32"
ingress.1811147003.from_port: "" => "22"
ingress.1811147003.ipv6_cidr_blocks.#: "" => "0"
ingress.1811147003.protocol: "" => "tcp"
ingress.1811147003.security_groups.#: "" => "0"
ingress.1811147003.self: "" => "false"
ingress.1811147003.to_port: "" => "22"
name: "" => "videoimage_veda_sandbox"
owner_id: "" => "<computed>"
vpc_id: "" => "<computed>"
Error applying plan:
4 error(s) occurred:
* aws_s3_bucket.deliver_bucket: 1 error(s) occurred:
* aws_s3_bucket.deliver_bucket: Error creating S3 bucket: AccessDenied: Access Denied
status code: 403, request id: 6F6E2B4D20686B8F, host id: 2/Lnm0AJ4mJQUfducdp6gKpVwcRhrnA4P4a7uZnIQToAgcfIdZT/S7dfavNl0QDrqy6eGE+1Cq0=
* aws_s3_bucket.upload_bucket: 1 error(s) occurred:
* aws_s3_bucket.upload_bucket: Error creating S3 bucket: AccessDenied: Access Denied
status code: 403, request id: 43469EC84CB9AC31, host id: QQea3bOb4qePlWPqyES/5R1++9fpuOchSYkMHQ51rXdzhFfen9/dQzeDIoZBDMdMo14rT/lQqi8=
* aws_s3_bucket.store_bucket: 1 error(s) occurred:
* aws_s3_bucket.store_bucket: Error creating S3 bucket: AccessDenied: Access Denied
status code: 403, request id: 66779AE0A58B1793, host id: UnbF6IFqoPE6X4b5nGTlBA1mFJZwFxlye8PbEB/fJEOObFncqtqeSp1xN34pmL4s50IIXfCFkUY=
* aws_security_group.veda_sec_sandbox: 1 error(s) occurred:
* aws_security_group.veda_sec_sandbox: Error creating Security Group: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: b130f1ee-c38b-49fc-b5d0-fb0d4c9aa91b
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment