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

feat(TPG >= 4.46)!: adds support to autoclass #265

Merged
merged 9 commits into from Aug 7, 2023

Conversation

fernandoiury
Copy link
Contributor

This PR provides the autoclass feature for both multiple_buckets and simple_bucket.

Closes #220

@fernandoiury fernandoiury requested a review from a team as a code owner August 3, 2023 17:31
@google-cla
Copy link

google-cla bot commented Aug 3, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@apeabody
Copy link
Contributor

apeabody commented Aug 3, 2023

/gcbrun

@fernandoiury
Copy link
Contributor Author

@apeabody I just fixed lint. It's passing locally now. TIA

@apeabody
Copy link
Contributor

apeabody commented Aug 3, 2023

/gcbrun

@fernandoiury
Copy link
Contributor Author

@apeabody sorry I don't know the whole process. Do I have to do anything else or just wait for the reviewers for now? TIA

@apeabody
Copy link
Contributor

apeabody commented Aug 7, 2023

@apeabody sorry I don't know the whole process. Do I have to do anything else or just wait for the reviewers for now? TIA

Hi @fernandoiury - Yes, typically wait for the reviewers, but I'll take a quick look at it now.

Copy link
Contributor

@apeabody apeabody 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 contribution @fernandoiury! A few notes:

Please bump the minimum TPG version to the first which includes autoclass:

We should also exercise the new option in a test covered by the CI tests. Basically just enable it for one of these examples:

modules/simple_bucket/variables.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
fernandoiury and others added 6 commits August 7, 2023 11:25
Co-authored-by: Andrew Peabody <andrewpeabody@google.com>
Co-authored-by: Andrew Peabody <andrewpeabody@google.com>
@fernandoiury
Copy link
Contributor Author

  • Versions bumped
  • Added autoclass = true to one of the examples
  • fixed docs / updated metadata

@apeabody apeabody changed the title feat: adds support to autoclass feat!(TPG >= 4.46): adds support to autoclass Aug 7, 2023
@apeabody apeabody changed the title feat!(TPG >= 4.46): adds support to autoclass feat(TPG >= 4.46)!: adds support to autoclass Aug 7, 2023
@apeabody
Copy link
Contributor

apeabody commented Aug 7, 2023

/gcbrun

Copy link
Contributor

@apeabody apeabody 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 contribution @fernandoiury - LGTM

As this requires a bump to minimum TPG (breaking change), I'll first release 4.0.1.

@apeabody
Copy link
Contributor

apeabody commented Aug 7, 2023

/gcbrun

@apeabody apeabody merged commit 52eaa5a into terraform-google-modules:master Aug 7, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configure the autoclass argument
2 participants