-
Notifications
You must be signed in to change notification settings - Fork 235
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
Convert Cloud resources to new "resource" framework #1391
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. |
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Split from #1391 - Makes the resource functions private (exposed via a single map attribute) rather than each resource individually - Puts the client validation in the cloud package
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Split from #1391 - Makes the resource functions private (exposed via a single map attribute) rather than each resource individually - Puts the client validation in the cloud package
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 2, 2024 04:01
46e676a
to
1716fe8
Compare
julienduchesne
changed the base branch from
main
to
julienduchesne/cloud-private
March 2, 2024 04:01
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Reducing diff from #1391
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Split from #1391 - Makes the resource functions private (exposed via a single map attribute) rather than each resource individually - Puts the client validation in the cloud package
julienduchesne
force-pushed
the
julienduchesne/cloud-private
branch
from
March 2, 2024 13:37
0b826cb
to
9b26801
Compare
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
2 times, most recently
from
March 2, 2024 13:43
6fd6cd6
to
e6ddd1b
Compare
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Each resource's ID is composed of n (>=1) string or integer elements We can generalize this behavior and do the parsing/formatting in the helper function This is extracted from #1391 and is part of a push to have standardized IDs for all resources, allowing for easier generation of TF code!
julienduchesne
added a commit
that referenced
this pull request
Mar 2, 2024
Each resource's ID is composed of n (>=1) string or integer elements We can generalize this behavior and do the parsing/formatting in the helper function This is extracted from #1391 and is part of a push to have standardized IDs for all resources, allowing for easier generation of TF code!
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 2, 2024 14:29
e6ddd1b
to
21808d4
Compare
julienduchesne
changed the base branch from
julienduchesne/cloud-private
to
julienduchesne/typed-resource-id
March 2, 2024 14:30
julienduchesne
added a commit
that referenced
this pull request
Mar 5, 2024
Split from #1391 - Makes the resource functions private (exposed via a single map attribute) rather than each resource individually - Puts the client validation in the cloud package
julienduchesne
added a commit
that referenced
this pull request
Mar 5, 2024
Split from #1391 - Makes the resource functions private (exposed via a single map attribute) rather than each resource individually - Puts the client validation in the cloud package
julienduchesne
added a commit
that referenced
this pull request
Mar 5, 2024
Each resource's ID is composed of n (>=1) string or integer elements We can generalize this behavior and do the parsing/formatting in the helper function This is extracted from #1391 and is part of a push to have standardized IDs for all resources, allowing for easier generation of TF code!
julienduchesne
force-pushed
the
julienduchesne/typed-resource-id
branch
from
March 5, 2024 13:47
2e5a47a
to
83eecfc
Compare
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 5, 2024 13:49
21808d4
to
5e78429
Compare
julienduchesne
added a commit
that referenced
this pull request
Mar 6, 2024
Each resource's ID is composed of n (>=1) string or integer elements We can generalize this behavior and do the parsing/formatting in the helper function This is extracted from #1391 and is part of a push to have standardized IDs for all resources, allowing for easier generation of TF code!
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 7, 2024 12:48
5e78429
to
d23a3c6
Compare
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 11, 2024 14:05
d23a3c6
to
49a21e2
Compare
julienduchesne
added a commit
that referenced
this pull request
Mar 11, 2024
Split from #1391 Convert the `stack` and `stack_service_account` resources to the new ID system that validates the ID format
julienduchesne
added a commit
that referenced
this pull request
Mar 11, 2024
Split from #1391 Convert the `stack` and `stack_service_account` resources to the new ID system that validates the ID format
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 11, 2024 15:34
49a21e2
to
53a53a4
Compare
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
2 times, most recently
from
March 14, 2024 16:25
5607ebf
to
51ed6f1
Compare
K-Phoen
approved these changes
Mar 18, 2024
- Add typing to the resource ID system. Makes it more robust and easier to use. - Makes sure all resources have an ID helper (to generate imports) - Paves the way for Terraform code gen
julienduchesne
force-pushed
the
julienduchesne/new-resource-framework
branch
from
March 18, 2024 13:49
51ed6f1
to
468f349
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brings the
cloud
package under a new framework where each resource is wrapped in aResource
struct. The benefit for this is that it simplifies declaring new resources as everything is packages.Benefits:
Resource
struct, allowing to have a standard way to define either SDK (old provider framework) vs Plugin Framework (newest) resources