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

Lake Formation Data Lake Settings #13250

Merged
merged 13 commits into from
Dec 16, 2020

Conversation

gmazelier
Copy link
Contributor

@gmazelier gmazelier commented May 10, 2020

Community Note

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

Relates #9700

AWS Lake Formation support: manages the data lake settings for your account.

This is a proposal for the first resource LakeFormation::DataLakeSettings mentioned in #9700, others resources will be provided in upcoming pull requests: LakeFormation::Permissions, LakeFormation::Resource.

Release note for CHANGELOG:

* **New Resource**: `aws_lakeformation_datalake_settings` (#13250)

Output from acceptance testing:

make testacc TEST=./aws TESTARGS='-run=TestAccAWSLakeFormationDataLakeSettings'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSLakeFormationDataLakeSettings -timeout 120m
=== RUN   TestAccAWSLakeFormationDataLakeSettings_basic
=== PAUSE TestAccAWSLakeFormationDataLakeSettings_basic
=== RUN   TestAccAWSLakeFormationDataLakeSettings_withCatalogId
=== PAUSE TestAccAWSLakeFormationDataLakeSettings_withCatalogId
=== CONT  TestAccAWSLakeFormationDataLakeSettings_basic
=== CONT  TestAccAWSLakeFormationDataLakeSettings_withCatalogId
--- PASS: TestAccAWSLakeFormationDataLakeSettings_basic (33.10s)
--- PASS: TestAccAWSLakeFormationDataLakeSettings_withCatalogId (33.50s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	34.906s

@gmazelier gmazelier requested a review from a team May 10, 2020 16:46
@ghost ghost added size/L Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. needs-triage Waiting for first response or review from a maintainer. labels May 10, 2020
website/aws.erb Outdated Show resolved Hide resolved
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. and removed size/L Managed by automation to categorize the size of a PR. labels May 11, 2020
@breathingdust breathingdust added service/lakeformation Issues and PRs that pertain to the lakeformation service. new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels May 11, 2020
@ewbankkit
Copy link
Contributor

Verified acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSLakeFormationDataLakeSettings_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSLakeFormationDataLakeSettings_ -timeout 120m
=== RUN   TestAccAWSLakeFormationDataLakeSettings_basic
=== PAUSE TestAccAWSLakeFormationDataLakeSettings_basic
=== RUN   TestAccAWSLakeFormationDataLakeSettings_withCatalogId
=== PAUSE TestAccAWSLakeFormationDataLakeSettings_withCatalogId
=== CONT  TestAccAWSLakeFormationDataLakeSettings_basic
=== CONT  TestAccAWSLakeFormationDataLakeSettings_withCatalogId
--- PASS: TestAccAWSLakeFormationDataLakeSettings_basic (25.14s)
--- PASS: TestAccAWSLakeFormationDataLakeSettings_withCatalogId (25.20s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	25.239s

@teamterraform
Copy link

Notification of Recent and Upcoming Changes to Contributions

Thank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization.

If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items.

For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the technical-debt label on issues.

As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported.

Action Required: Terraform 0.12 Syntax

Reference: #8950
Reference: #14417

Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations (some_attribute = "${aws_service_thing.example.id}") should be updated to the newer syntax (some_attribute = aws_service_thing.example.id). Contribution testing will automatically fail on older syntax in the near future. Please see the referenced issues for additional information.

Action Required: Terraform Plugin SDK Version 2

Reference: #14551

The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information.

Action Required: Removal of website/aws.erb File

Reference: #14712

Any changes to the website/aws.erb file are no longer necessary and should be removed from this contribution to prevent merge issues in the near future when the file is removed from the repository. Please see the referenced issue for additional information.

Upcoming Change of Git Branch Naming

Reference: #14292

Development environments will need their upstream Git branch updated from master to main in the near future. Please see the referenced issue for additional information and scheduling.

Upcoming Change of GitHub Organization

Reference: #14715

This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including terraform-providers can remain for now. Please see the referenced issue for additional information and scheduling.

@YakDriver
Copy link
Member

@gmazelier Hello! Are you still interested and available to work on this? We have been unable to get to Lake Formation yet but will be working on it soon.

@YakDriver YakDriver self-assigned this Nov 17, 2020
@gmazelier
Copy link
Contributor Author

@YakDriver Yes, sure. Planned to work on the potential mentioned issues next week.

@YakDriver
Copy link
Member

@gmazelier I want to be upfront about the process so you know what to expect. A design will be created internally and adjusted and eventually approved. It may seem like nothing is happening at that point but work is happening behind the scenes. Once the design is approved, implementation will need to follow the design. Hopefully we can use some or all of your work. We won't know until we have concensus on the design, however.

@gmazelier
Copy link
Contributor Author

@YakDriver Alright, just let me know if and when I can help.

@YakDriver
Copy link
Member

@gmazelier My friend, here's the latest. We have the design approved and are moving forward with implementation. To give you a heads up, I will likely be building on your PR. Make sure that you have checked the "allow edits from maintainers" box. You will get credit for the feature and commits. I'll make any changes needed to bring it into alignment with the design.

@YakDriver
Copy link
Member

Personally, I like "datalake" as one word but AWS consistently uses "data lake" as two words so I'm renaming to maintain consistency with AWS.

@gmazelier
Copy link
Contributor Author

@YakDriver Sure. Nothing to commit right now, I'm waiting for design realignment. Then I will contribute to provider other resources as you mentioned. But I'll you know. Thank you for your work and feedback! (agree with you about data lake wording but let's be consistent with AWS documentation)

@ghost ghost added size/XL Managed by automation to categorize the size of a PR. and removed size/L Managed by automation to categorize the size of a PR. labels Dec 16, 2020
@YakDriver
Copy link
Member

YakDriver commented Dec 16, 2020

@ewbankkit @gmazelier Have a look at the latest. If you have any feedback, let me know soon. I'd like to merge today if possible.

Acceptance tests in us-west-2

--- PASS: TestAccAWSLakeFormationDataLakeSettings_serial (34.38s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/basic (11.86s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/disappears (11.46s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/withoutCatalogId (11.07s)
--- PASS: TestAccAWSLakeFormationDataLakeSettingsDataSource_serial (14.70s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettingsDataSource_serial/basic (14.70s)

Acceptance tests in us-gov-west-1

--- PASS: TestAccAWSLakeFormationDataLakeSettings_serial (49.85s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/basic (17.66s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/disappears (16.37s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettings_serial/withoutCatalogId (15.83s)
--- PASS: TestAccAWSLakeFormationDataLakeSettingsDataSource_serial (18.89s)
    --- PASS: TestAccAWSLakeFormationDataLakeSettingsDataSource_serial/basic (18.89s)

@YakDriver YakDriver force-pushed the lakeformation_datalake_settings branch from bee76ba to 5c97264 Compare December 16, 2020 23:46
@YakDriver YakDriver merged commit 0c75bba into hashicorp:master Dec 16, 2020
@github-actions github-actions bot added this to the v3.22.0 milestone Dec 16, 2020
@gmazelier
Copy link
Contributor Author

LGTM

@YakDriver
Copy link
Member

YakDriver commented Dec 17, 2020

As with any new service, we'll notice things that need adjusting in the first little while. We welcome your help post-release. As for resources and data sources, here is what is planned and not planned. I'll create issues for the items that won't make the first release.

@ghost
Copy link

ghost commented Dec 18, 2020

This has been released in version 3.22.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 for triage. Thanks!

@ghost
Copy link

ghost commented Jan 16, 2021

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. partition/aws-us-gov Pertains to the aws-us-gov partition. provider Pertains to the provider itself, rather than any interaction with AWS. service/lakeformation Issues and PRs that pertain to the lakeformation service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants