Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_dynamodb_table resource reading tags from dynamodb-local throws UnknownOperationException #529

Closed
hashibot opened this issue Jun 13, 2017 · 6 comments
Labels
bug Addresses a defect in current functionality. service/dynamodb Issues and PRs that pertain to the dynamodb service. upstream Addresses functionality related to the cloud provider.

Comments

@hashibot
Copy link

This issue was originally opened by @cstavro as hashicorp/terraform#11926. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

0.8.6

Affected Resource(s)

  • aws_dynamodb_table

Terraform Configuration Files

provider "aws" {
  region = "us-east-1"
  dynamodb_endpoint = "http://localhost:8000"
}

resource "aws_dynamodb_table" "mytable" {
  name = "mytable"
  read_capacity = 1
  write_capacity = 1
  hash_key = "id"

  attribute {
    name = "id"
    type = "S"
  }
}

Debug Output

https://gist.github.com/cstavro/5e23b233ebfc29ffa48e5ead52d27c34

Expected Behavior

  • Should be able to plan and apply a config
  • Should be able to plan after an apply

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

  • This works fine in v0.8.5
  • Running latest version of dynamodb-local for development

References

Pretty sure this is the guy that causes the problem

@hashibot hashibot added the bug Addresses a defect in current functionality. label Jun 13, 2017
@freedomofkeima
Copy link

Is there any progress with this issue? 👀

@radeksimko radeksimko added the upstream Addresses functionality related to the cloud provider. label Aug 7, 2017
@farmbytes
Copy link

Any updates? I am still seeing this issue with Terraform v0.10.3

aws_dynamodb_table.basic-dynamodb-table: UnknownOperationException: An unknown operation was requested.
	status code: 400

@jeffski
Copy link

jeffski commented Nov 27, 2017

+1 to fix this. Table gets created but can't be destroyed

@radeksimko radeksimko added the service/dynamodb Issues and PRs that pertain to the dynamodb service. label Jan 22, 2018
@radeksimko
Copy link
Member

Closing as a duplicate of #1059 to keep the discussion in a single place. Feel free to follow that issue by subscribing to it or upvoting it.

Thanks.

@stefansundin
Copy link
Contributor

Fixed in #6149

@ghost
Copy link

ghost commented Apr 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/dynamodb Issues and PRs that pertain to the dynamodb service. upstream Addresses functionality related to the cloud provider.
Projects
None yet
Development

No branches or pull requests

6 participants