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

invalid or unknown key: server_side_encryption #2

Closed
kitsunde opened this issue Apr 3, 2018 · 6 comments
Closed

invalid or unknown key: server_side_encryption #2

kitsunde opened this issue Apr 3, 2018 · 6 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@kitsunde
Copy link

kitsunde commented Apr 3, 2018

variable "region" {
  default = "ap-southeast-1"
}

provider "aws" {
  region = "${var.region}"
}

module "terraform_state_backend" {
  source = "git::https://github.com/cloudposse/terraform-aws-tfstate-backend.git?ref=master"
  namespace = "master"
  stage = "master"
  name = "mediapop"
  region = "${var.region}"
}

gives:

Error: module.terraform_state_backend.aws_dynamodb_table.default: : invalid or unknown key: server_side_encryption

@aknysh aknysh self-assigned this Apr 3, 2018
@aknysh
Copy link
Member

aknysh commented Apr 3, 2018

@kitsunde
thanks for testing!
what Terraform version are you using?
they just recently (in March) added DynamoDB server-side encryption to the AWS provider

hashicorp/terraform-provider-aws#3303
https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md#1110-march-09-2018

can you update to the newest TF version and retest?

@kitsunde
Copy link
Author

kitsunde commented Apr 3, 2018 via email

@aknysh
Copy link
Member

aknysh commented Apr 3, 2018

@kitsunde
when you run terraform init, what provider.aws: version do you see?

image

@osterman osterman added the help wanted Extra attention is needed label Apr 3, 2018
@kitsunde
Copy link
Author

kitsunde commented Apr 4, 2018

Ah, that was probably it. I was on 1.9.

@aknysh
Copy link
Member

aknysh commented Apr 4, 2018

@kitsunde
were you able to run it?
let us know if any other issues.

@osterman
Copy link
Member

Will close this for now. Please reopen if you're still having trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants