-
Notifications
You must be signed in to change notification settings - Fork 34
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
enhancement#93 : Implemented TF code for firestore creation. #114
Open
AkshayKalbhor
wants to merge
32
commits into
cloudspannerecosystem:main
Choose a base branch
from
AkshayKalbhor:master
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c5225d1
108: Updated the readme.md files from [distributed], [per-project] an…
AkshayKalbhor bed6791
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor bfc396c
fix: 108 - Fix for Firestore database create cmd.
AkshayKalbhor 67c8722
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor 3a18be9
fix: 108 updated formatting
AkshayKalbhor a388d40
updated files formatting to resolve build issues.
AkshayKalbhor 8331e3c
fix: 108 updated files according to rc's.
AkshayKalbhor e39203a
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor 4fd5a58
Explained Firestore update command
davidcueva ae1b6e6
Fixed linter issue
davidcueva c2c6ae4
enhancement#93: Initial commit.
AkshayKalbhor 610c4ec
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor 7865d12
updated poller SA variables.
AkshayKalbhor 050a4a2
deleted unused variable
AkshayKalbhor d002716
Updated the flow of setting up firestore by providing an option to set
AkshayKalbhor fc0bf7f
updated file
AkshayKalbhor dbfdc36
updated missing variables
AkshayKalbhor 2867582
commented condition.
AkshayKalbhor 5e37716
updated condition for creating firestore
AkshayKalbhor ddd9108
updated the readme steps, included the firestore variable to be set
AkshayKalbhor a9213e7
updated cloud function files
AkshayKalbhor f234ca3
updated formatting
AkshayKalbhor 9f1432d
Updated files to remove formatting errors
AkshayKalbhor 33ac88e
updated formatting
AkshayKalbhor 4ed3dd6
updated text for resolving formatting errors
AkshayKalbhor a719493
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor 58f3710
updated files as per the comments.
AkshayKalbhor 0e0726b
Merge branch 'master' of https://github.com/AkshayKalbhor/autoscaler
AkshayKalbhor b673ec2
updated formatting.
AkshayKalbhor d6566ae
updated line length to resolve markdown failures.
AkshayKalbhor 8764752
Merge branch 'cloudspannerecosystem:master' into master
AkshayKalbhor d29fb0e
Merge branch 'master' of https://github.com/AkshayKalbhor/autoscaler
AkshayKalbhor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is in the Terraform module for Firestore, wouldn't using the module indicate we want to create the Firestore database. Also choosing to not create the database while using the module would break the setup, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
thanks for the review,
I sort of agree with you but if we do not provide an option then we will end up forcing the user to use Firestore. What in case if the user wants to use Spanner to store the Autoscaler state?
Should we still create the Firestore db as a default setup and let the user use Spanner without utilizing the provisioned Firestore db?
Let me know if my understanding is not accurate.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, if the user wanted to store state in Spanner the documentation instructed them to skip the gcloud command to create the Firestore database. Now with the module users in that situation should just not include the Firestore module in their Terraform.