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

Relocate Valid4ByteAsn function to common lib, add to CloudWAN Network Policy Doc Data Source #27305

Merged
merged 7 commits into from
Nov 3, 2022

Conversation

schuylr
Copy link
Contributor

@schuylr schuylr commented Oct 18, 2022

Description

This PR restores the validation for a 4-byte ASN on CloudWAN (Network Manager) Core Network Policy Document data source under Edge Locations. The validation was removed due to build failures on 32-bit systems, but can be restored by re-using the valid4ByteAsn function from the ec2 service provider as a common validation function.

This PR also modifies the ec2 service provider to use the relocated common validation function (tests below).

When terraform-plugin-framework becomes GA, the function can be modified to leverage Int64 as a new schema type.

No changelog entry created per these instructions

Relations

Closes #24902

References

https://github.com/hashicorp/terraform-provider-aws/pull/24890/files#r877631861
#14030
#1888

Output from Acceptance Testing

terraform-provider-aws % make testacc TESTS=TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic'  -timeout 180m
=== RUN   TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== CONT  TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic (9.55s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager	13.749s

terraform-provider-aws % make testacc TESTS=TestAccSiteVPNCustomerGateway_4ByteASN PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccSiteVPNCustomerGateway_4ByteASN'  -timeout 180m
=== RUN   TestAccSiteVPNCustomerGateway_4ByteASN
=== PAUSE TestAccSiteVPNCustomerGateway_4ByteASN
=== CONT  TestAccSiteVPNCustomerGateway_4ByteASN
--- PASS: TestAccSiteVPNCustomerGateway_4ByteASN (25.68s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	29.842s

terraform-provider-aws % make testacc TESTARGS='-run=TestAccTransitGateway_serial/ConnectPeer/BgpAsn' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20  -run=TestAccTransitGateway_serial/ConnectPeer/BgpAsn -timeout 180m
=== RUN   TestAccTransitGateway_serial
=== RUN   TestAccTransitGateway_serial/ConnectPeer
=== RUN   TestAccTransitGateway_serial/ConnectPeer/BgpAsn
--- PASS: TestAccTransitGateway_serial (479.25s)
    --- PASS: TestAccTransitGateway_serial/ConnectPeer (479.25s)
        --- PASS: TestAccTransitGateway_serial/ConnectPeer/BgpAsn (479.25s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	483.413s

terraform-provider-aws % make test TESTARGS='-v -count=1' TEST=./internal/verify/...
==> Checking that code complies with gofmt requirements...
go test ./internal/verify/... -v -count=1 -timeout=5m
=== RUN   TestBase64Encode
--- PASS: TestBase64Encode (0.00s)
=== RUN   TestCIDRBlocksEqual
--- PASS: TestCIDRBlocksEqual (0.00s)
=== RUN   TestCanonicalCIDRBlock
--- PASS: TestCanonicalCIDRBlock (0.00s)
=== RUN   TestSuppressEquivalentRoundedTime
--- PASS: TestSuppressEquivalentRoundedTime (0.00s)
=== RUN   TestSuppressEquivalentTypeStringBoolean
--- PASS: TestSuppressEquivalentTypeStringBoolean (0.00s)
=== RUN   TestDiffStringMaps
--- PASS: TestDiffStringMaps (0.00s)
=== RUN   TestLooksLikeJSONString
--- PASS: TestLooksLikeJSONString (0.00s)
=== RUN   TestJSONBytesEqualQuotedAndUnquoted
--- PASS: TestJSONBytesEqualQuotedAndUnquoted (0.00s)
=== RUN   TestJSONBytesEqualWhitespaceAndNoWhitespace
--- PASS: TestJSONBytesEqualWhitespaceAndNoWhitespace (0.00s)
=== RUN   TestSecondJSONUnlessEquivalent
--- PASS: TestSecondJSONUnlessEquivalent (0.00s)
=== RUN   TestNormalizeJSONOrYAMLString
--- PASS: TestNormalizeJSONOrYAMLString (0.00s)
=== RUN   TestSuppressEquivalentJSONDiffsWhitespaceAndNoWhitespace
--- PASS: TestSuppressEquivalentJSONDiffsWhitespaceAndNoWhitespace (0.00s)
=== RUN   TestSuppressEquivalentJSONOrYAMLDiffs
--- PASS: TestSuppressEquivalentJSONOrYAMLDiffs (0.00s)
=== RUN   TestSemVerLessThan
--- PASS: TestSemVerLessThan (0.00s)
=== RUN   TestSemVerGreaterThanOrEqual
--- PASS: TestSemVerGreaterThanOrEqual (0.00s)
=== RUN   TestValid4ByteASN
--- PASS: TestValid4ByteASN (0.00s)
=== RUN   TestValidTypeStringNullableBoolean
--- PASS: TestValidTypeStringNullableBoolean (0.00s)
=== RUN   TestValidTypeStringNullableFloat
--- PASS: TestValidTypeStringNullableFloat (0.00s)
=== RUN   TestValidAccountID
--- PASS: TestValidAccountID (0.00s)
=== RUN   TestValidARN
--- PASS: TestValidARN (0.00s)
=== RUN   TestValidateCIDRBlock
--- PASS: TestValidateCIDRBlock (0.00s)
=== RUN   TestValidCIDRNetworkAddress
--- PASS: TestValidCIDRNetworkAddress (0.00s)
=== RUN   TestValidIPv4CIDRBlock
--- PASS: TestValidIPv4CIDRBlock (0.00s)
=== RUN   TestValidIPv6CIDRBlock
--- PASS: TestValidIPv6CIDRBlock (0.00s)
=== RUN   TestIsIPv4CIDRBlockOrIPv6CIDRBlock
--- PASS: TestIsIPv4CIDRBlockOrIPv6CIDRBlock (0.00s)
=== RUN   TestValidIAMPolicyJSONString
--- PASS: TestValidIAMPolicyJSONString (0.00s)
=== RUN   TestValidStringIsJSONOrYAML
--- PASS: TestValidStringIsJSONOrYAML (0.00s)
=== RUN   TestValidOnceAWeekWindowFormat
--- PASS: TestValidOnceAWeekWindowFormat (0.00s)
=== RUN   TestValidOnceADayWindowFormat
--- PASS: TestValidOnceADayWindowFormat (0.00s)
=== RUN   TestValidLaunchTemplateName
--- PASS: TestValidLaunchTemplateName (0.00s)
=== RUN   TestValidLaunchTemplateID
--- PASS: TestValidLaunchTemplateID (0.00s)
=== RUN   TestValidUTCTimestamp
--- PASS: TestValidUTCTimestamp (0.00s)
=== RUN   TestValidateTypeStringIsDateOrInt
--- PASS: TestValidateTypeStringIsDateOrInt (0.00s)
=== RUN   TestFloatGreaterThan
--- PASS: TestFloatGreaterThan (0.00s)
=== RUN   TestCheckYAMLString
--- PASS: TestCheckYAMLString (0.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/verify	0.625s

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/M Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/networkmanager Issues and PRs that pertain to the networkmanager service. service/transitgateway Issues and PRs that pertain to the transitgateway service. service/vpnsite Issues and PRs that pertain to the vpnsite service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. verify Pertains to the verify package (i.e., provider-level validating, diff suppression, etc.) labels Oct 18, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @schuylr 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Oct 19, 2022
Copy link
Collaborator

@GlennChia GlennChia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gdavison gdavison self-assigned this Oct 20, 2022
@gdavison
Copy link
Contributor

gdavison commented Oct 20, 2022

Since this PR adds a plan-time validation for the user, it should have a changeling entry. Something like "Add plan-time validation for core_network_configuration[].edge_locations[].asn

Copy link
Contributor

@gdavison gdavison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @schuylr. Moving the valid4ByteASN function looks good. I'm concerned that the change from an int to string for the asn value in the JSON document might not be accepted by the API calls where it's used

@schuylr
Copy link
Contributor Author

schuylr commented Oct 21, 2022

I was double-checking this yesterday as I was adding the changelog comment. CloudWAN is indeed looking for an integer/number format in the JSON, so this type change is not accepted by AWS APIs.

In discussion with @GlennChia yesterday, I think the best approach will be to modify the Valid4ByteAsn function to accept an int, convert it to a string, then run it through a new Valid4ByteAsnString function with the existing logic here. Will modify this today.

@schuylr
Copy link
Contributor Author

schuylr commented Oct 21, 2022

New tests:

terraform-provider-aws % make testacc TESTS=TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic PKG=networkmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 20 -run='TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic'  -timeout 180m
=== RUN   TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== CONT  TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic (11.41s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager	16.033s

terraform-provider-aws % make testacc TESTS=TestAccSiteVPNCustomerGateway_4ByteASN PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccSiteVPNCustomerGateway_4ByteASN'  -timeout 180m
=== RUN   TestAccSiteVPNCustomerGateway_4ByteASN
=== PAUSE TestAccSiteVPNCustomerGateway_4ByteASN
=== CONT  TestAccSiteVPNCustomerGateway_4ByteASN
--- PASS: TestAccSiteVPNCustomerGateway_4ByteASN (25.51s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	29.641s

terraform-provider-aws % make testacc TESTARGS='-run=TestAccTransitGateway_serial/ConnectPeer/BgpAsn' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20  -run=TestAccTransitGateway_serial/ConnectPeer/BgpAsn -timeout 180m
=== RUN   TestAccTransitGateway_serial
=== RUN   TestAccTransitGateway_serial/ConnectPeer
=== RUN   TestAccTransitGateway_serial/ConnectPeer/BgpAsn
--- PASS: TestAccTransitGateway_serial (572.42s)
    --- PASS: TestAccTransitGateway_serial/ConnectPeer (572.42s)
        --- PASS: TestAccTransitGateway_serial/ConnectPeer/BgpAsn (572.42s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	576.521s

terraform-provider-aws % make test TESTARGS='-v -count=1' TEST=./internal/verify/...
==> Checking that code complies with gofmt requirements...
go test ./internal/verify/... -v -count=1 -timeout=5m
=== RUN   TestBase64Encode
--- PASS: TestBase64Encode (0.00s)
=== RUN   TestCIDRBlocksEqual
--- PASS: TestCIDRBlocksEqual (0.00s)
=== RUN   TestCanonicalCIDRBlock
--- PASS: TestCanonicalCIDRBlock (0.00s)
=== RUN   TestSuppressEquivalentRoundedTime
--- PASS: TestSuppressEquivalentRoundedTime (0.00s)
=== RUN   TestSuppressEquivalentTypeStringBoolean
--- PASS: TestSuppressEquivalentTypeStringBoolean (0.00s)
=== RUN   TestDiffStringMaps
--- PASS: TestDiffStringMaps (0.00s)
=== RUN   TestLooksLikeJSONString
--- PASS: TestLooksLikeJSONString (0.00s)
=== RUN   TestJSONBytesEqualQuotedAndUnquoted
--- PASS: TestJSONBytesEqualQuotedAndUnquoted (0.00s)
=== RUN   TestJSONBytesEqualWhitespaceAndNoWhitespace
--- PASS: TestJSONBytesEqualWhitespaceAndNoWhitespace (0.00s)
=== RUN   TestSecondJSONUnlessEquivalent
--- PASS: TestSecondJSONUnlessEquivalent (0.00s)
=== RUN   TestNormalizeJSONOrYAMLString
--- PASS: TestNormalizeJSONOrYAMLString (0.00s)
=== RUN   TestSuppressEquivalentJSONDiffsWhitespaceAndNoWhitespace
--- PASS: TestSuppressEquivalentJSONDiffsWhitespaceAndNoWhitespace (0.00s)
=== RUN   TestSuppressEquivalentJSONOrYAMLDiffs
--- PASS: TestSuppressEquivalentJSONOrYAMLDiffs (0.00s)
=== RUN   TestSemVerLessThan
--- PASS: TestSemVerLessThan (0.00s)
=== RUN   TestSemVerGreaterThanOrEqual
--- PASS: TestSemVerGreaterThanOrEqual (0.00s)
=== RUN   TestValid4ByteAsn
--- PASS: TestValid4ByteAsn (0.00s)
=== RUN   TestValid4ByteASNString
--- PASS: TestValid4ByteASNString (0.00s)
=== RUN   TestValidTypeStringNullableBoolean
--- PASS: TestValidTypeStringNullableBoolean (0.00s)
=== RUN   TestValidTypeStringNullableFloat
--- PASS: TestValidTypeStringNullableFloat (0.00s)
=== RUN   TestValidAccountID
--- PASS: TestValidAccountID (0.00s)
=== RUN   TestValidARN
--- PASS: TestValidARN (0.00s)
=== RUN   TestValidateCIDRBlock
--- PASS: TestValidateCIDRBlock (0.00s)
=== RUN   TestValidCIDRNetworkAddress
--- PASS: TestValidCIDRNetworkAddress (0.00s)
=== RUN   TestValidIPv4CIDRBlock
--- PASS: TestValidIPv4CIDRBlock (0.00s)
=== RUN   TestValidIPv6CIDRBlock
--- PASS: TestValidIPv6CIDRBlock (0.00s)
=== RUN   TestIsIPv4CIDRBlockOrIPv6CIDRBlock
--- PASS: TestIsIPv4CIDRBlockOrIPv6CIDRBlock (0.00s)
=== RUN   TestValidIAMPolicyJSONString
--- PASS: TestValidIAMPolicyJSONString (0.00s)
=== RUN   TestValidStringIsJSONOrYAML
--- PASS: TestValidStringIsJSONOrYAML (0.00s)
=== RUN   TestValidOnceAWeekWindowFormat
--- PASS: TestValidOnceAWeekWindowFormat (0.00s)
=== RUN   TestValidOnceADayWindowFormat
--- PASS: TestValidOnceADayWindowFormat (0.00s)
=== RUN   TestValidLaunchTemplateName
--- PASS: TestValidLaunchTemplateName (0.00s)
=== RUN   TestValidLaunchTemplateID
--- PASS: TestValidLaunchTemplateID (0.00s)
=== RUN   TestValidUTCTimestamp
--- PASS: TestValidUTCTimestamp (0.00s)
=== RUN   TestValidateTypeStringIsDateOrInt
--- PASS: TestValidateTypeStringIsDateOrInt (0.00s)
=== RUN   TestFloatGreaterThan
--- PASS: TestFloatGreaterThan (0.00s)
=== RUN   TestCheckYAMLString
--- PASS: TestCheckYAMLString (0.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/verify	0.614s

@@ -20,6 +20,27 @@ var accountIDRegexp = regexp.MustCompile(`^(aws|aws-managed|\d{12})$`)
var partitionRegexp = regexp.MustCompile(`^aws(-[a-z]+)*$`)
var regionRegexp = regexp.MustCompile(`^[a-z]{2}(-[a-z]+)+-\d$`)

func Valid4ByteASN(v interface{}, k string) (ws []string, errors []error) {
stringValue := strconv.Itoa(v.(int))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gdavison Can you see any concerns with the 32-bit BSD build on this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASN numbers are 32-bit unsigned values, so this will fail for any values between 2147483647 and 4294967295. Basically, for any resources using terraform-plugin-sdk (and therefore a TypeInt) we have to accept a TypeString and parse it into an int64. Technically, we could use a uint32, but the AWS API takes an int64

Copy link
Contributor

@gdavison gdavison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, we can't use an int to contain uint32 values on a 32-bit platform. Instead we can use an int64, since that's what the AWS API takes

@@ -20,6 +20,27 @@ var accountIDRegexp = regexp.MustCompile(`^(aws|aws-managed|\d{12})$`)
var partitionRegexp = regexp.MustCompile(`^aws(-[a-z]+)*$`)
var regionRegexp = regexp.MustCompile(`^[a-z]{2}(-[a-z]+)+-\d$`)

func Valid4ByteASN(v interface{}, k string) (ws []string, errors []error) {
stringValue := strconv.Itoa(v.(int))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASN numbers are 32-bit unsigned values, so this will fail for any values between 2147483647 and 4294967295. Basically, for any resources using terraform-plugin-sdk (and therefore a TypeInt) we have to accept a TypeString and parse it into an int64. Technically, we could use a uint32, but the AWS API takes an int64

@@ -160,8 +160,9 @@ func DataSourceCoreNetworkPolicyDocument() *schema.Resource {
ValidateFunc: verify.ValidRegionName,
},
"asn": {
Type: schema.TypeInt,
Optional: true,
Type: schema.TypeInt,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be changed to a schema.TypeString, which will be handled internally as an int64. We can take advantage of the Terraform parser which will allow some string values, such as numbers and boolean values to omit the quotes

@ewbankkit ewbankkit added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label Nov 3, 2022
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

% make testacc TESTARGS='-run=TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_' PKG=networkmanager ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2  -run=TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_ -timeout 180m
=== RUN   TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== CONT  TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic (92.99s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager	99.341s
% make testacc TESTARGS='-run=TestAccSiteVPNCustomerGateway_4ByteASN\|TestAccTransitGateway_serial/ConnectPeer/BgpAsn' PKG=ec2 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2  -run=TestAccSiteVPNCustomerGateway_4ByteASN\|TestAccTransitGateway_serial/ConnectPeer/BgpAsn -timeout 180m
=== RUN   TestAccTransitGateway_serial
=== RUN   TestAccTransitGateway_serial/ConnectPeer
=== RUN   TestAccTransitGateway_serial/ConnectPeer/BgpAsn
--- PASS: TestAccTransitGateway_serial (594.69s)
    --- PASS: TestAccTransitGateway_serial/ConnectPeer (594.69s)
        --- PASS: TestAccTransitGateway_serial/ConnectPeer/BgpAsn (594.68s)
=== RUN   TestAccSiteVPNCustomerGateway_4ByteASN
=== PAUSE TestAccSiteVPNCustomerGateway_4ByteASN
=== CONT  TestAccSiteVPNCustomerGateway_4ByteASN
--- PASS: TestAccSiteVPNCustomerGateway_4ByteASN (33.02s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	632.081s

@ewbankkit
Copy link
Contributor

@schuylr Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit f8e94f0 into hashicorp:main Nov 3, 2022
@github-actions github-actions bot added this to the v4.38.0 milestone Nov 3, 2022
@schuylr
Copy link
Contributor Author

schuylr commented Nov 3, 2022

Thanks for your edits, learned a bunch!!

@schuylr schuylr deleted the td-4_byte_asn_refactor branch November 3, 2022 15:15
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

This functionality has been released in v4.38.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Dec 4, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2022
@justinretzolk justinretzolk added the partner Contribution from a partner. label May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partner Contribution from a partner. service/networkmanager Issues and PRs that pertain to the networkmanager service. service/transitgateway Issues and PRs that pertain to the transitgateway service. service/vpnsite Issues and PRs that pertain to the vpnsite service. size/M Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. verify Pertains to the verify package (i.e., provider-level validating, diff suppression, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

d/aws_networkmanager_core_network_policy_document: Allow 4-byte ASNs
5 participants