Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage.
data.aws_region.current: Refreshing state... data.aws_caller_identity.caller: Refreshing state...
An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols:
- create
Terraform will perform the following actions:
- resource "aws_api_gateway_method" "method" {
- api_key_required = false
- authorization = "NONE"
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_method" "method" {
- api_key_required = false
- authorization = "NONE"
- http_method = "POST"
- id = (known after apply)
- resource_id = (known after apply)
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_method" "method" {
- api_key_required = false
- authorization = "NONE"
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "200" }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "500" }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "POST"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "200" }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "POST"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "500" }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "200" }
- resource "aws_api_gateway_method_response" "response" {
- http_method = "GET"
- id = (known after apply)
- resource_id = (known after apply)
- response_models = {
- "application/json" = "Empty" }
- rest_api_id = (known after apply)
- status_code = "500" }
- resource "aws_api_gateway_resource" "resource" {
- id = (known after apply)
- parent_id = (known after apply)
- path = (known after apply)
- path_part = "callback"
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_resource" "resource" {
- id = (known after apply)
- parent_id = (known after apply)
- path = (known after apply)
- path_part = "path"
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_resource" "resource" {
- id = (known after apply)
- parent_id = (known after apply)
- path = (known after apply)
- path_part = "query"
- rest_api_id = (known after apply) }
- resource "aws_api_gateway_rest_api" "rest_api" {
-
api_key_source = "HEADER"
-
arn = (known after apply)
-
created_date = (known after apply)
-
execution_arn = (known after apply)
-
id = (known after apply)
-
minimum_compression_size = -1
-
name = "Test API Gateway"
-
root_resource_id = (known after apply)
-
tags = {
- "Project" = "Testing" }
-
endpoint_configuration {
- types = [
- "REGIONAL", ] } }
- types = [
-
Plan: 13 to add, 0 to change, 0 to destroy.
Note: You didn't specify an "-out" parameter to save this plan, so Terraform can't guarantee that exactly these actions will be performed if "terraform apply" is subsequently run.