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

r/aws_apigatewayv2_api: Add 'disable_execute_api_endpoint' attribute #15250

Commits on Sep 21, 2020

  1. r/aws_apigatewayv2_api: Add 'disable_execute_api_endpoint' attribute.

    Acceptance test output:
    
    $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAPIGatewayV2Api_'
    ==> Checking that code complies with gofmt requirements...
    TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Api_ -timeout 120m
    === RUN   TestAccAWSAPIGatewayV2Api_basicWebSocket
    === PAUSE TestAccAWSAPIGatewayV2Api_basicWebSocket
    === RUN   TestAccAWSAPIGatewayV2Api_basicHttp
    === PAUSE TestAccAWSAPIGatewayV2Api_basicHttp
    === RUN   TestAccAWSAPIGatewayV2Api_disappears
    === PAUSE TestAccAWSAPIGatewayV2Api_disappears
    === RUN   TestAccAWSAPIGatewayV2Api_AllAttributesWebSocket
    === PAUSE TestAccAWSAPIGatewayV2Api_AllAttributesWebSocket
    === RUN   TestAccAWSAPIGatewayV2Api_AllAttributesHttp
    === PAUSE TestAccAWSAPIGatewayV2Api_AllAttributesHttp
    === RUN   TestAccAWSAPIGatewayV2Api_Openapi
    === PAUSE TestAccAWSAPIGatewayV2Api_Openapi
    === RUN   TestAccAWSAPIGatewayV2Api_Openapi_WithTags
    === PAUSE TestAccAWSAPIGatewayV2Api_Openapi_WithTags
    === RUN   TestAccAWSAPIGatewayV2Api_Openapi_WithCorsConfiguration
    === PAUSE TestAccAWSAPIGatewayV2Api_Openapi_WithCorsConfiguration
    === RUN   TestAccAWSAPIGatewayV2Api_OpenapiWithMoreFields
    === PAUSE TestAccAWSAPIGatewayV2Api_OpenapiWithMoreFields
    === RUN   TestAccAWSAPIGatewayV2Api_Tags
    === PAUSE TestAccAWSAPIGatewayV2Api_Tags
    === RUN   TestAccAWSAPIGatewayV2Api_CorsConfiguration
    === PAUSE TestAccAWSAPIGatewayV2Api_CorsConfiguration
    === RUN   TestAccAWSAPIGatewayV2Api_QuickCreate
    === PAUSE TestAccAWSAPIGatewayV2Api_QuickCreate
    === CONT  TestAccAWSAPIGatewayV2Api_basicWebSocket
    === CONT  TestAccAWSAPIGatewayV2Api_QuickCreate
    === CONT  TestAccAWSAPIGatewayV2Api_CorsConfiguration
    === CONT  TestAccAWSAPIGatewayV2Api_Tags
    === CONT  TestAccAWSAPIGatewayV2Api_OpenapiWithMoreFields
    === CONT  TestAccAWSAPIGatewayV2Api_AllAttributesHttp
    === CONT  TestAccAWSAPIGatewayV2Api_Openapi_WithTags
    === CONT  TestAccAWSAPIGatewayV2Api_Openapi
    === CONT  TestAccAWSAPIGatewayV2Api_disappears
    === CONT  TestAccAWSAPIGatewayV2Api_AllAttributesWebSocket
    === CONT  TestAccAWSAPIGatewayV2Api_Openapi_WithCorsConfiguration
    === CONT  TestAccAWSAPIGatewayV2Api_basicHttp
    2020/09/20 17:00:23 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
    2020/09/20 17:00:23 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
    === CONT  TestAccAWSAPIGatewayV2Api_disappears
        resource_aws_apigatewayv2_api_test.go:151: [INFO] Got non-empty plan, as expected
    2020/09/20 17:00:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity
    --- PASS: TestAccAWSAPIGatewayV2Api_disappears (35.17s)
    2020/09/20 17:00:53 [INFO] AWS Auth provider used: "EnvProvider"
    2020/09/20 17:00:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity
    2020/09/20 17:01:02 [DEBUG] Updating API Gateway v2 API: {
      ApiId: "h82mccfioi",
      ApiKeySelectionExpression: "$request.header.x-api-key",
      Description: "",
      DisableExecuteApiEndpoint: false,
      RouteSelectionExpression: "$request.body.action",
      Version: ""
    }
    --- PASS: TestAccAWSAPIGatewayV2Api_basicWebSocket (48.38s)
    --- PASS: TestAccAWSAPIGatewayV2Api_QuickCreate (50.27s)
    2020/09/20 17:01:19 [DEBUG] Trying to get account information via sts:GetCallerIdentity
    --- PASS: TestAccAWSAPIGatewayV2Api_basicHttp (80.44s)
    --- PASS: TestAccAWSAPIGatewayV2Api_Tags (81.27s)
    --- PASS: TestAccAWSAPIGatewayV2Api_Openapi (85.63s)
    --- PASS: TestAccAWSAPIGatewayV2Api_Openapi_WithTags (89.80s)
    --- PASS: TestAccAWSAPIGatewayV2Api_OpenapiWithMoreFields (91.56s)
    --- PASS: TestAccAWSAPIGatewayV2Api_Openapi_WithCorsConfiguration (117.17s)
    --- PASS: TestAccAWSAPIGatewayV2Api_CorsConfiguration (117.81s)
    --- PASS: TestAccAWSAPIGatewayV2Api_AllAttributesWebSocket (118.94s)
    --- PASS: TestAccAWSAPIGatewayV2Api_AllAttributesHttp (130.87s)
    PASS
    ok  	github.com/terraform-providers/terraform-provider-aws/aws	130.934s
    ewbankkit committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    04f0634 View commit details
    Browse the repository at this point in the history