Skip to content

Instantly share code, notes, and snippets.

@azt3k
Created February 14, 2022 22:02
Show Gist options
  • Save azt3k/5410a68ac6512352a5d316154a85eee7 to your computer and use it in GitHub Desktop.
Save azt3k/5410a68ac6512352a5d316154a85eee7 to your computer and use it in GitHub Desktop.
2022-02-15T10:42:50.030+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] [aws-sdk-go] DEBUG: Response waf/CreateRuleGroup Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 211
Content-Type: application/x-amz-json-1.1
Date: Mon, 14 Feb 2022 21:42:49 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 229f8376-f6ea-4af9-97ad-a32678526c46
-----------------------------------------------------: timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.030+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] [aws-sdk-go] {"ChangeToken":"c78df545-5e1c-420d-91be-38a90f92f694","RuleGroup":{"MetricName":"OWASPTop10chapterzerproduction","Name":"owasp-top-10-chapterzer-production","RuleGroupId":"45c29c55-7268-4bb8-bc7a-ec9aaf307583"}}: timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.030+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] Unlocking "WafRetryer": timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.031+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] Unlocked "WafRetryer": timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.031+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] Locked "WafRetryer": timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.031+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] Waiting for state to become: [success]: timestamp=2022-02-15T10:42:50.030+1300
2022-02-15T10:42:50.031+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] [aws-sdk-go] DEBUG: Request waf/GetChangeToken Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: waf.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 (+https://www.terraform.io) terraform-provider-aws/3.74.2 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.38 (go1.16; darwin; amd64)
Content-Length: 2
Authorization: ...snipped
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20220214T214250Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: AWSWAF_20150824.GetChangeToken
Accept-Encoding: gzip
{}
-----------------------------------------------------: timestamp=2022-02-15T10:42:50.031+1300
2022-02-15T10:42:50.032+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:50 [DEBUG] Locking "WafRetryer": timestamp=2022-02-15T10:42:50.031+1300
2022-02-15T10:42:51.052+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:51 [DEBUG] [aws-sdk-go] DEBUG: Response waf/GetChangeToken Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 54
Content-Type: application/x-amz-json-1.1
Date: Mon, 14 Feb 2022 21:42:50 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: ebde2ecc-2d57-4207-aca0-c2539eae3218
-----------------------------------------------------: timestamp=2022-02-15T10:42:51.052+1300
2022-02-15T10:42:51.052+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:51 [DEBUG] [aws-sdk-go] {"ChangeToken":"0cde4b9c-5022-45c5-9def-2044d2ab3048"}: timestamp=2022-02-15T10:42:51.052+1300
2022-02-15T10:42:51.054+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:51 [INFO] Updating SqlInjectionMatchSet: {
ChangeToken: "0cde4b9c-5022-45c5-9def-2044d2ab3048",
SqlInjectionMatchSetId: "695932cf-7f26-496a-a0f9-a4bc9d38c321",
Updates: [
{
Action: "DELETE",
SqlInjectionMatchTuple: {
FieldToMatch: {
Data: "authorization",
Type: "HEADER"
},
TextTransformation: "URL_DECODE"
}
},
{
Action: "DELETE",
SqlInjectionMatchTuple: {
FieldToMatch: {
Data: "authorization",
Type: "HEADER"
},
TextTransformation: "HTML_ENTITY_DECODE"
}
},
{
Action: "INSERT",
SqlInjectionMatchTuple: {
FieldToMatch: {
Data: "Authorization",
Type: "HEADER"
},
TextTransformation: "URL_DECODE"
}
},
{
Action: "INSERT",
SqlInjectionMatchTuple: {
FieldToMatch: {
Data: "Authorization",
Type: "HEADER"
},
TextTransformation: "HTML_ENTITY_DECODE"
}
}
]
}: timestamp=2022-02-15T10:42:51.054+1300
2022-02-15T10:42:51.055+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:51 [DEBUG] [aws-sdk-go] DEBUG: Request waf/UpdateSqlInjectionMatchSet Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: waf.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 (+https://www.terraform.io) terraform-provider-aws/3.74.2 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.38 (go1.16; darwin; amd64)
Content-Length: 694
Authorization: ...snipped
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20220214T214251Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: AWSWAF_20150824.UpdateSqlInjectionMatchSet
Accept-Encoding: gzip
{"ChangeToken":"0cde4b9c-5022-45c5-9def-2044d2ab3048","SqlInjectionMatchSetId":"695932cf-7f26-496a-a0f9-a4bc9d38c321","Updates":[{"Action":"DELETE","SqlInjectionMatchTuple":{"FieldToMatch":{"Data":"authorization","Type":"HEADER"},"TextTransformation":"URL_DECODE"}},{"Action":"DELETE","SqlInjectionMatchTuple":{"FieldToMatch":{"Data":"authorization","Type":"HEADER"},"TextTransformation":"HTML_ENTITY_DECODE"}},{"Action":"INSERT","SqlInjectionMatchTuple":{"FieldToMatch":{"Data":"Authorization","Type":"HEADER"},"TextTransformation":"URL_DECODE"}},{"Action":"INSERT","SqlInjectionMatchTuple":{"FieldToMatch":{"Data":"Authorization","Type":"HEADER"},"TextTransformation":"HTML_ENTITY_DECODE"}}]}
-----------------------------------------------------: timestamp=2022-02-15T10:42:51.055+1300
2022-02-15T10:42:52.222+1300 [TRACE] dag/walk: vertex "aws_cloudfront_distribution.base" is waiting for "aws_waf_web_acl.waf_acl"
2022-02-15T10:42:52.370+1300 [TRACE] dag/walk: vertex "aws_route53_record.base_domain" is waiting for "aws_cloudfront_distribution.base"
2022-02-15T10:42:52.472+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] [aws-sdk-go] DEBUG: Response waf/UpdateSqlInjectionMatchSet Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 54
Content-Type: application/x-amz-json-1.1
Date: Mon, 14 Feb 2022 21:42:52 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 4c276042-df07-4920-a9a2-47a7a69210c5
-----------------------------------------------------: timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] [aws-sdk-go] {"ChangeToken":"0cde4b9c-5022-45c5-9def-2044d2ab3048"}: timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] Unlocking "WafRetryer": timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] Unlocked "WafRetryer": timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [INFO] Reading SqlInjectionMatchSet: owasp-01-detect-sql-injection-chapterzer-production: timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] Locked "WafRetryer": timestamp=2022-02-15T10:42:52.472+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] Waiting for state to become: [success]: timestamp=2022-02-15T10:42:52.473+1300
2022-02-15T10:42:52.473+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] [aws-sdk-go] DEBUG: Request waf/GetChangeToken Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: waf.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 (+https://www.terraform.io) terraform-provider-aws/3.74.2 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.38 (go1.16; darwin; amd64)
Content-Length: 2
Authorization: ...snipped
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20220214T214252Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: AWSWAF_20150824.GetChangeToken
Accept-Encoding: gzip
{}
-----------------------------------------------------: timestamp=2022-02-15T10:42:52.473+1300
2022-02-15T10:42:52.474+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:52 [DEBUG] [aws-sdk-go] DEBUG: Request waf/GetSqlInjectionMatchSet Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: waf.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 (+https://www.terraform.io) terraform-provider-aws/3.74.2 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.38 (go1.16; darwin; amd64)
Content-Length: 65
Authorization: ...snipped
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20220214T214252Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: AWSWAF_20150824.GetSqlInjectionMatchSet
Accept-Encoding: gzip
{"SqlInjectionMatchSetId":"695932cf-7f26-496a-a0f9-a4bc9d38c321"}
-----------------------------------------------------: timestamp=2022-02-15T10:42:52.473+1300
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "aws_waf_web_acl.waf_acl" is waiting for "aws_waf_rule_group.owasp_top_10[0]"
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "output.base_cdn_dns" is waiting for "aws_cloudfront_distribution.base"
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/hashicorp/aws\"].route53-us-east-1 (close)" is waiting for "aws_route53_record.base_ses_spf_record"
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/hashicorp/aws\"].route53 (close)" is waiting for "aws_route53_record.base_domain"
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)" is waiting for "null_resource.web2ssl"
2022-02-15T10:42:52.833+1300 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/hashicorp/aws\"].us-east-1 (close)" is waiting for "aws_cloudwatch_metric_alarm.cf_base_gt_anomaly"
2022-02-15T10:42:53.042+1300 [TRACE] dag/walk: vertex "aws_route53_record.base_ses_spf_record" is waiting for "aws_route53_record.base_domain"
2022-02-15T10:42:53.071+1300 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/hashicorp/aws\"].route53 (close)"
2022-02-15T10:42:53.071+1300 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/hashicorp/aws\"] (close)" is waiting for "aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]"
2022-02-15T10:42:53.071+1300 [TRACE] dag/walk: vertex "aws_cloudwatch_metric_alarm.cf_base_gt_anomaly" is waiting for "aws_cloudfront_distribution.base"
2022-02-15T10:42:53.071+1300 [TRACE] dag/walk: vertex "null_resource.update_conf" is waiting for "aws_cloudfront_distribution.base"
2022-02-15T10:42:53.428+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:53 [DEBUG] [aws-sdk-go] DEBUG: Response waf/GetChangeToken Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 54
Content-Type: application/x-amz-json-1.1
Date: Mon, 14 Feb 2022 21:42:52 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 2a0b1fc1-92b1-458d-a772-4fccf7699dca
-----------------------------------------------------: timestamp=2022-02-15T10:42:53.428+1300
2022-02-15T10:42:53.428+1300 [INFO] provider.terraform-provider-aws_v3.74.2_x5: 2022/02/15 10:42:53 [DEBUG] [aws-sdk-go] {"ChangeToken":"cfee6f69-6a4d-42a5-bbb8-c77666855597"}: timestamp=2022-02-15T10:42:53.428+1300
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: panic: interface conversion: interface {} is int, not int64
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5:
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: goroutine 124 [running]:
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-provider-aws/internal/service/waf.ExpandActivatedRule(...)
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/helpers.go:274
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-provider-aws/internal/service/waf.DiffRuleGroupActivatedRules(0xfcf5118, 0x0, 0x0, 0xc002515220, 0xa, 0xa, 0xc002712000, 0xc00157a400, 0xc00157a000)
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/helpers.go:246 +0xe33
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-provider-aws/internal/service/waf.updateWafRuleGroupResource.func1(0xc0029a26a0, 0xfcf5118, 0xc002712000, 0x0, 0x0)
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/rule_group.go:244 +0xd0
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-provider-aws/internal/service/waf.(*WafRetryer).RetryWithToken.func1(0x2)
2022-02-15T10:42:53.431+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/token_handlers.go:33 +0x1fc
2022-02-15T10:42:53.432+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.RetryContext.func1(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
2022-02-15T10:42:53.432+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/wait.go:27 +0x5b
2022-02-15T10:42:53.432+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext.func1(0xc002098240, 0xc0014f2000, 0xc0027400c0, 0xc002086200, 0xc00209e078, 0xc00209e070)
2022-02-15T10:42:53.432+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/state.go:110 +0x2e9
2022-02-15T10:42:53.432+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: created by github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext
2022-02-15T10:42:53.433+1300 [DEBUG] provider.terraform-provider-aws_v3.74.2_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/state.go:83 +0x1c6
2022-02-15T10:42:53.441+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:53.441+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.74.2/darwin_amd64/terraform-provider-aws_v3.74.2_x5 pid=92180 error="exit status 2"
2022-02-15T10:42:53.442+1300 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:53.442+1300 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:53.442+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]
2022-02-15T10:42:53.442+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object for aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]
2022-02-15T10:42:53.442+1300 [TRACE] maybeTainted: aws_waf_rule_group.owasp_top_10[0] encountered an error during creation, so it is now marked as tainted
2022-02-15T10:42:53.442+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for aws_waf_rule_group.owasp_top_10[0]
2022-02-15T10:42:53.442+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for aws_waf_rule_group.owasp_top_10[0]
2022-02-15T10:42:53.443+1300 [TRACE] evalApplyProvisioners: aws_waf_rule_group.owasp_top_10[0] is tainted, so skipping provisioning
2022-02-15T10:42:53.443+1300 [TRACE] maybeTainted: aws_waf_rule_group.owasp_top_10[0] was already tainted, so nothing to do
2022-02-15T10:42:53.443+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for aws_waf_rule_group.owasp_top_10[0]
2022-02-15T10:42:53.443+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for aws_waf_rule_group.owasp_top_10[0]
2022-02-15T10:42:53.445+1300 [ERROR] vertex "aws_waf_rule_group.owasp_top_10[0]" error: Plugin did not respond
2022-02-15T10:42:53.445+1300 [TRACE] vertex "aws_waf_rule_group.owasp_top_10[0]": visit complete, with errors
2022-02-15T10:42:53.445+1300 [TRACE] evalApplyProvisioners: aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0] is not freshly-created, so no provisioning is required
2022-02-15T10:42:53.445+1300 [TRACE] dag/walk: upstream of "aws_waf_web_acl.waf_acl" errored, so skipping
2022-02-15T10:42:53.445+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]
2022-02-15T10:42:53.445+1300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object for aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]
2022-02-15T10:42:53.445+1300 [TRACE] dag/walk: upstream of "aws_cloudfront_distribution.base" errored, so skipping
2022-02-15T10:42:53.445+1300 [TRACE] dag/walk: upstream of "aws_route53_record.base_domain" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "aws_cloudwatch_metric_alarm.cf_base_gt_anomaly" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/aws\"].route53 (close)" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "aws_route53_record.base_ses_spf_record" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/aws\"].us-east-1 (close)" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "output.base_cdn_dns" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/aws\"].route53-us-east-1 (close)" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "null_resource.update_conf" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "null_resource.deploy" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "null_resource.web2ssl" errored, so skipping
2022-02-15T10:42:53.446+1300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/null\"] (close)" errored, so skipping
2022-02-15T10:42:53.449+1300 [ERROR] vertex "aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]" error: Plugin did not respond
2022-02-15T10:42:53.449+1300 [TRACE] vertex "aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0]": visit complete, with errors
2022-02-15T10:42:53.449+1300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/aws\"] (close)" errored, so skipping
2022-02-15T10:42:53.449+1300 [TRACE] dag/walk: upstream of "root" errored, so skipping
2022-02-15T10:42:53.465+1300 [DEBUG] Uploading remote state to S3: {
Body: buffer(0xc0067e3620),
Bucket: "tf-state-chapterzer",
ContentLength: 241409,
ContentType: "application/json",
Key: "env:/production/chapterzer",
ServerSideEncryption: "AES256"
}
2022-02-15T10:42:53.469+1300 [DEBUG] [aws-sdk-go] DEBUG: Request s3/PutObject Details:
---[ REQUEST POST-SIGN ]-----------------------------
PUT /env%3A/production/chapterzer HTTP/1.1
Host: tf-state-chapterzer.s3.ap-southeast-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 aws-sdk-go/1.42.35 (go1.17.6; darwin; amd64)
Content-Length: 241409
Authorization: ...snipped
Content-Md5: A2/jFbMe8Fc6D3hJpNljig==
Content-Type: application/json
X-Amz-Content-Sha256: 5ac305ab79023e42ee3dbb51f15ee719033dca7aaa247250229f1d0ca771cdad
X-Amz-Date: 20220214T214253Z
X-Amz-Security-Token: ...snipped
X-Amz-Server-Side-Encryption: AES256
Accept-Encoding: gzip
... snipped ...
-----------------------------------------------------
2022-02-15T10:42:55.094+1300 [DEBUG] [aws-sdk-go] DEBUG: Response s3/PutObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 0
Date: Mon, 14 Feb 2022 21:42:56 GMT
Etag: "036fe315b31ef0573a0f7849a4d9638a"
Server: AmazonS3
X-Amz-Id-2: M1BIgykxZgVz35mlBIXTSJArzX06OHMhxPNEANDBd0u0tQvd0zzlDNEVd+jC0oDq/7Hcjy9rAmQ=
X-Amz-Request-Id: T8RE66HB2KTQH234
X-Amz-Server-Side-Encryption: AES256
X-Amz-Version-Id: J9JXoDO3qtGkAtmALw_0sUGjA7z8naCX
-----------------------------------------------------
2022-02-15T10:42:55.094+1300 [DEBUG] [aws-sdk-go]
2022-02-15T10:42:55.095+1300 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/PutItem Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: dynamodb.ap-southeast-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 aws-sdk-go/1.42.35 (go1.17.6; darwin; amd64)
Content-Length: 162
Accept-Encoding: identity
Authorization: ...snipped
Content-Type: application/x-amz-json-1.0
X-Amz-Date: 20220214T214255Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: DynamoDB_20120810.PutItem
{"Item":{"Digest":{"S":"036fe315b31ef0573a0f7849a4d9638a"},"LockID":{"S":"tf-state-chapterzer/env:/production/chapterzer-md5"}},"TableName":"tf-locks-chapterzer"}
-----------------------------------------------------
2022-02-15T10:42:55.453+1300 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/PutItem Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 2
Content-Type: application/x-amz-json-1.0
Date: Mon, 14 Feb 2022 21:42:55 GMT
Server: Server
X-Amz-Crc32: 2745614147
X-Amzn-Requestid: P6G734C44CRE8JJ25QDRPDP2H3VV4KQNSO5AEMVJF66Q9ASUAAJG
-----------------------------------------------------
2022-02-15T10:42:55.453+1300 [DEBUG] [aws-sdk-go] {}
│ Error: Plugin did not respond
│ with aws_waf_sql_injection_match_set.owasp_01_sql_injection_set[0],
│ on _terraform.owasp.tf line 958, in resource "aws_waf_sql_injection_match_set" "owasp_01_sql_injection_set":
│ 958: resource "aws_waf_sql_injection_match_set" "owasp_01_sql_injection_set" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.
│ Error: Plugin did not respond
│ with aws_waf_rule_group.owasp_top_10[0],
│ on _terraform.owasp.tf line 1780, in resource "aws_waf_rule_group" "owasp_top_10":
│ 1780: resource "aws_waf_rule_group" "owasp_top_10" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.
2022-02-15T10:42:55.487+1300 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/GetItem Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: dynamodb.ap-southeast-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 aws-sdk-go/1.42.35 (go1.17.6; darwin; amd64)
Content-Length: 167
Accept-Encoding: identity
Authorization: ...snipped
Content-Type: application/x-amz-json-1.0
X-Amz-Date: 20220214T214255Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: DynamoDB_20120810.GetItem
{"ConsistentRead":true,"Key":{"LockID":{"S":"tf-state-chapterzer/env:/production/chapterzer"}},"ProjectionExpression":"LockID, Info","TableName":"tf-locks-chapterzer"}
-----------------------------------------------------
2022-02-15T10:42:55.793+1300 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/GetItem Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 349
Content-Type: application/x-amz-json-1.0
Date: Mon, 14 Feb 2022 21:42:55 GMT
Server: Server
X-Amz-Crc32: 3944998096
X-Amzn-Requestid: L53A165R32NNORVQIQLR5T80ONVV4KQNSO5AEMVJF66Q9ASUAAJG
-----------------------------------------------------
2022-02-15T10:42:55.793+1300 [DEBUG] [aws-sdk-go] {"Item":{"LockID":{"S":"tf-state-chapterzer/env:/production/chapterzer"},"Info":{"S":"{\"ID\":\"e04ff14d-fb84-67b2-fb42-40d6619f49ce\",\"Operation\":\"OperationTypeApply\",\"Info\":\"\",\"Who\":\"azt3k@Az-MBP-5.local\",\"Version\":\"1.1.5\",\"Created\":\"2022-02-14T21:38:47.858048Z\",\"Path\":\"tf-state-chapterzer/env:/production/chapterzer\"}"}}}
2022-02-15T10:42:55.794+1300 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/DeleteItem Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: dynamodb.ap-southeast-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.5 aws-sdk-go/1.42.35 (go1.17.6; darwin; amd64)
Content-Length: 107
Accept-Encoding: identity
Authorization: ...snipped
Content-Type: application/x-amz-json-1.0
X-Amz-Date: 20220214T214255Z
X-Amz-Security-Token: ...snipped
X-Amz-Target: DynamoDB_20120810.DeleteItem
{"Key":{"LockID":{"S":"tf-state-chapterzer/env:/production/chapterzer"}},"TableName":"tf-locks-chapterzer"}
-----------------------------------------------------
Releasing state lock. This may take a few moments...
2022-02-15T10:42:56.091+1300 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/DeleteItem Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 2
Content-Type: application/x-amz-json-1.0
Date: Mon, 14 Feb 2022 21:42:56 GMT
Server: Server
X-Amz-Crc32: 2745614147
X-Amzn-Requestid: A2P5LJE12MMTR8DB0ONJHNS4GJVV4KQNSO5AEMVJF66Q9ASUAAJG
-----------------------------------------------------
2022-02-15T10:42:56.091+1300 [DEBUG] [aws-sdk-go] {}
Stack trace from the terraform-provider-aws_v3.74.2_x5 plugin:
panic: interface conversion: interface {} is int, not int64
goroutine 124 [running]:
github.com/hashicorp/terraform-provider-aws/internal/service/waf.ExpandActivatedRule(...)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/helpers.go:274
github.com/hashicorp/terraform-provider-aws/internal/service/waf.DiffRuleGroupActivatedRules(0xfcf5118, 0x0, 0x0, 0xc002515220, 0xa, 0xa, 0xc002712000, 0xc00157a400, 0xc00157a000)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/helpers.go:246 +0xe33
github.com/hashicorp/terraform-provider-aws/internal/service/waf.updateWafRuleGroupResource.func1(0xc0029a26a0, 0xfcf5118, 0xc002712000, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/rule_group.go:244 +0xd0
github.com/hashicorp/terraform-provider-aws/internal/service/waf.(*WafRetryer).RetryWithToken.func1(0x2)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/internal/service/waf/token_handlers.go:33 +0x1fc
github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.RetryContext.func1(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/wait.go:27 +0x5b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext.func1(0xc002098240, 0xc0014f2000, 0xc0027400c0, 0xc002086200, 0xc00209e078, 0xc00209e070)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/state.go:110 +0x2e9
created by github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/resource/state.go:83 +0x1c6
Error: The terraform-provider-aws_v3.74.2_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
2022-02-15T10:42:56.093+1300 [DEBUG] provider: plugin exited
2022-02-15T10:42:56.094+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:56.094+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:56.094+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:56.094+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-15T10:42:56.095+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=92179
2022-02-15T10:42:56.095+1300 [DEBUG] provider: plugin exited
2022-02-15T10:42:56.107+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.74.2/darwin_amd64/terraform-provider-aws_v3.74.2_x5 pid=92181
2022-02-15T10:42:56.107+1300 [DEBUG] provider: plugin exited
2022-02-15T10:42:56.107+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.74.2/darwin_amd64/terraform-provider-aws_v3.74.2_x5 pid=92184
2022-02-15T10:42:56.107+1300 [DEBUG] provider: plugin exited
2022-02-15T10:42:56.108+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.74.2/darwin_amd64/terraform-provider-aws_v3.74.2_x5 pid=92182
2022-02-15T10:42:56.108+1300 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment