-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
d/aws_arn: Migrate to Terraform Plugin Framework #26027
d/aws_arn: Migrate to Terraform Plugin Framework #26027
Conversation
Acceptance test output: % go test -v -run=TestARNType ./internal/service/meta === RUN TestARNTypeValueFromTerraform === PAUSE TestARNTypeValueFromTerraform === RUN TestARNTypeValidate === PAUSE TestARNTypeValidate === CONT TestARNTypeValueFromTerraform === CONT TestARNTypeValidate === RUN TestARNTypeValueFromTerraform/invalid_duration === RUN TestARNTypeValidate/not_a_string === RUN TestARNTypeValueFromTerraform/null_value === RUN TestARNTypeValidate/unknown_string === RUN TestARNTypeValidate/null_string === RUN TestARNTypeValueFromTerraform/unknown_value === RUN TestARNTypeValidate/valid_string === RUN TestARNTypeValidate/invalid_string --- PASS: TestARNTypeValidate (0.00s) --- PASS: TestARNTypeValidate/not_a_string (0.00s) --- PASS: TestARNTypeValidate/unknown_string (0.00s) --- PASS: TestARNTypeValidate/null_string (0.00s) --- PASS: TestARNTypeValidate/valid_string (0.00s) --- PASS: TestARNTypeValidate/invalid_string (0.00s) === RUN TestARNTypeValueFromTerraform/valid_ARN --- PASS: TestARNTypeValueFromTerraform (0.00s) --- PASS: TestARNTypeValueFromTerraform/invalid_duration (0.00s) --- PASS: TestARNTypeValueFromTerraform/null_value (0.00s) --- PASS: TestARNTypeValueFromTerraform/unknown_value (0.00s) --- PASS: TestARNTypeValueFromTerraform/valid_ARN (0.00s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/meta 4.186s
…ProviderFactories: acctest.ProtoV5ProviderFactories'.
…; Per-service acceptance test initialization.
This functionality has been released in v4.25.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! |
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. |
Community Note
Relates #23948.
Relates #25951.
Relates #25770.
Relates #25715.
Relates #25606.
This PR migrates the relatively trivial
aws_arn
data source from Terraform Plugin SDK v2 to Terraform Plugin Framework.The signature of the SDK v2 provider factory function changes (adding a
context.Context
argument and returning an additionalerror
), hence the number of sources files modified (mostly acceptance tests).Output from acceptance testing:
To consider next:
ARNType
(andDurationType
used in provider configuration) into a shared types package (internal/types
)?aws_region
data source