Skip to content

Instantly share code, notes, and snippets.

@toddlers
Created November 27, 2020 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toddlers/e09c6432d7ed4c283336b08cdbe7cc47 to your computer and use it in GitHub Desktop.
Save toddlers/e09c6432d7ed4c283336b08cdbe7cc47 to your computer and use it in GitHub Desktop.
Error while creating the aws network firewall rule group with optional fields
aws_networkfirewall_rule_group.deny-http: Creating...
2020/11/27 21:19:37 [DEBUG] EvalApply: ProviderMeta config value set
2020/11/27 21:19:37 [DEBUG] aws_networkfirewall_rule_group.deny-http: applying the planned Create change
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] Creating NetworkFirewall Rule Group deny-http
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] [aws-sdk-go] DEBUG: Validate Request Network Firewall/CreateRuleGroup failed, not retrying, error InvalidParameter: 5 validation error(s) found.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] [aws-sdk-go] DEBUG: Build Request Network Firewall/CreateRuleGroup failed, not retrying, error InvalidParameter: 5 validation error(s) found.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] [aws-sdk-go] DEBUG: Sign Request Network Firewall/CreateRuleGroup failed, not retrying, error InvalidParameter: 5 validation error(s) found.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
2020/11/27 21:19:37 [DEBUG] aws_networkfirewall_rule_group.deny-http: apply errored, but we're indicating that via the Error pointer rather than returning it: error creating NetworkFirewall Rule Group deny-http: InvalidParameter: 5 validation error(s) found.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
2020/11/27 21:19:37 [ERROR] eval: *terraform.EvalApplyPost, err: error creating NetworkFirewall Rule Group deny-http: InvalidParameter: 5 validation error(s) found.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
2020/11/27 21:19:37 [ERROR] eval: *terraform.EvalSequence, err: error creating NetworkFirewall Rule Group deny-http: InvalidParameter: 5 validation error(s) found.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Protocol.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Source.
- missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.SourcePort.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment