Created
April 28, 2016 09:54
-
-
Save ijin/06df5cf90c235cf3e4226d5d34bb80d8 to your computer and use it in GitHub Desktop.
[Terraform Apply] API Gateway to get Elastic Beanstalk IP(s) Raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform apply | |
aws_api_gateway_rest_api.EB: Creating... | |
description: "" => "get EB info" | |
name: "" => "EB" | |
root_resource_id: "" => "<computed>" | |
aws_api_gateway_rest_api.EB: Creation complete | |
aws_api_gateway_resource.eb: Creating... | |
parent_id: "" => "k9x3d7qlhd" | |
path: "" => "<computed>" | |
path_part: "" => "eb" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_resource.eb: Creation complete | |
aws_api_gateway_resource.env_name: Creating... | |
parent_id: "" => "nr2lkm" | |
path: "" => "<computed>" | |
path_part: "" => "{env_name}" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_resource.env_name: Creation complete | |
aws_api_gateway_resource.ip: Creating... | |
parent_id: "" => "g29h7n" | |
path: "" => "<computed>" | |
path_part: "" => "ip" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_resource.ip: Creation complete | |
aws_api_gateway_resource.server_num: Creating... | |
parent_id: "" => "sthj28" | |
path: "" => "<computed>" | |
path_part: "" => "{server_num}" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_method.ip_get: Creating... | |
api_key_required: "" => "0" | |
authorization: "" => "NONE" | |
http_method: "" => "GET" | |
resource_id: "" => "sthj28" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_method.ip_get: Creation complete | |
aws_api_gateway_method_response.ip_200: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "sthj28" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "200" | |
aws_api_gateway_integration.ip_get: Creating... | |
http_method: "" => "GET" | |
integration_http_method: "" => "POST" | |
request_templates.#: "" => "1" | |
request_templates.application/json: "" => "{ \"env_name\": \"$input.params('env_name')\" }" | |
resource_id: "" => "sthj28" | |
rest_api_id: "" => "mdsyn3w42a" | |
type: "" => "AWS" | |
uri: "" => "arn:aws:apigateway:ap-northeast-1:lambda:path/2015-03-31/functions/arn:aws:lambda:ap-northeast-1:123456789012:function:eb_ip/invocations" | |
aws_api_gateway_resource.server_num: Creation complete | |
aws_api_gateway_method.server_num_get: Creating... | |
api_key_required: "" => "0" | |
authorization: "" => "NONE" | |
http_method: "" => "GET" | |
resource_id: "" => "9w68fs" | |
rest_api_id: "" => "mdsyn3w42a" | |
aws_api_gateway_method_response.ip_200: Creation complete | |
aws_api_gateway_method_response.ip_400: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "sthj28" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "400" | |
aws_api_gateway_integration_response.ip_get_200: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "sthj28" | |
response_templates.#: "" => "1" | |
response_templates.application/json: "" => "$input.path('$')" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "200" | |
aws_api_gateway_integration.ip_get: Creation complete | |
aws_api_gateway_method.server_num_get: Creation complete | |
aws_api_gateway_method_response.server_num_200: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "9w68fs" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "200" | |
aws_api_gateway_integration.server_num_get: Creating... | |
http_method: "" => "GET" | |
integration_http_method: "" => "POST" | |
request_templates.#: "" => "1" | |
request_templates.application/json: "" => "{\n \"env_name\": \"$input.params('env_name')\",\n \"server_num\": \"$input.params('server_num')\" \n}" | |
resource_id: "" => "9w68fs" | |
rest_api_id: "" => "mdsyn3w42a" | |
type: "" => "AWS" | |
uri: "" => "arn:aws:apigateway:ap-northeast-1:lambda:path/2015-03-31/functions/arn:aws:lambda:ap-northeast-1:123456789012:function:eb_ip/invocations" | |
aws_api_gateway_integration_response.ip_get_200: Creation complete | |
aws_api_gateway_method_response.ip_400: Creation complete | |
aws_api_gateway_integration_response.ip_get_400: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "sthj28" | |
response_templates.#: "" => "1" | |
response_templates.application/json: "" => "$input.path('$').errorMessage" | |
rest_api_id: "" => "mdsyn3w42a" | |
selection_pattern: "" => "[^0-9](.|\n)*" | |
status_code: "" => "400" | |
aws_api_gateway_integration.server_num_get: Creation complete | |
aws_api_gateway_method_response.server_num_200: Creation complete | |
aws_api_gateway_method_response.server_num_400: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "9w68fs" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "400" | |
aws_api_gateway_method_response.server_num_400: Creation complete | |
aws_api_gateway_integration_response.ip_get_400: Creation complete | |
aws_api_gateway_integration_response.server_num_get_200: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "9w68fs" | |
response_templates.#: "" => "1" | |
response_templates.application/json: "" => "$input.path('$')" | |
rest_api_id: "" => "mdsyn3w42a" | |
status_code: "" => "200" | |
aws_api_gateway_integration_response.server_num_get_200: Creation complete | |
aws_api_gateway_integration_response.server_num_get_400: Creating... | |
http_method: "" => "GET" | |
resource_id: "" => "9w68fs" | |
response_templates.#: "" => "1" | |
response_templates.application/json: "" => "$input.path('$').errorMessage" | |
rest_api_id: "" => "mdsyn3w42a" | |
selection_pattern: "" => "[^0-9](.|\n)*" | |
status_code: "" => "400" | |
aws_api_gateway_integration_response.server_num_get_400: Creation complete | |
aws_api_gateway_deployment.eb_deployment: Creating... | |
rest_api_id: "" => "mdsyn3w42a" | |
stage_name: "" => "prod" | |
aws_api_gateway_deployment.eb_deployment: Creation complete | |
Apply complete! Resources: 18 added, 0 changed, 0 destroyed. | |
The state of your infrastructure has been saved to the path | |
below. This state is required to modify and destroy your | |
infrastructure, so keep it safe. To inspect the complete state | |
use the `terraform show` command. | |
State path: terraform.tfstate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment