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

Unexpected provider exception when creating "aws_api_gateway_method_settings" #25404

Closed
dvvinco opened this issue Jun 26, 2020 · 2 comments
Closed

Comments

@dvvinco
Copy link

dvvinco commented Jun 26, 2020

Hey,

we try to enable Logging and Metrics for our API-Gateway and added the following resource:

resource "aws_api_gateway_method_settings" "settings" {
  rest_api_id = aws_api_gateway_rest_api.rest_api.id
  stage_name = var.api_gateway_stage
  method_path = "${aws_api_gateway_resource.resource.path_part}/${aws_api_gateway_method.method.http_method}"
  settings {
    metrics_enabled = true
    logging_level = "ERROR"
    data_trace_enabled = true
  }
}

Unfortunately this throws the following exception when it gets executed:

module.datalake_zendesk.module.apigateway_instances.aws_api_gateway_method_settings.settings,
provider "aws" produced an unexpected new value for was present, but now
absent.

Any idea what could cause this issue and how we can fix it?

Greetings Dave

@ghost
Copy link

ghost commented Jun 29, 2020

This issue has been automatically migrated to hashicorp/terraform-provider-aws#13985 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-aws#13985.

@ghost ghost closed this as completed Jun 29, 2020
@ghost
Copy link

ghost commented Jul 30, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 30, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants