Closed jar-b closed 10 months ago
Voting for Prioritization
Volunteering to Work on This Issue
This functionality has been released in v5.33.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 issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
This argument currently gets set to
true
internally by the provider ifrole_arn
is not provided. This becomes a problem for certain resource types (such as Redshift data shares) which require bothRoleArn
andUseServiceLinkedRole
to be omitted.https://github.com/hashicorp/terraform-provider-aws/blob/85b0843d0b3963876fcff0c5f55259239de8a558/internal/service/lakeformation/resource.go#L59-L63
Instead of doing this internally, expose the argument so practitioners can configure explicity. To preserve backward compatibility, the existing logic setting the value to
true
whenrole_arn
is omitted should be preserved for the 5.X series. In 6.X this can be removed in favor of aligning arguments with the underlying AWS API.Affected Resource(s) and/or Data Source(s)
aws_lakeformation_resource
Potential Terraform Configuration
References
Would you like to implement a fix?
None