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

#28 Change credentials for LocalStack between environments without replicating all of my environment properties #56

Merged
merged 1 commit into from
May 10, 2024

Conversation

carter-cundiff
Copy link
Contributor

No description provided.

@carter-cundiff carter-cundiff force-pushed the 28-localstack-credential-refactor branch from aef9c3e to efd98bc Compare May 9, 2024 19:44

// check that the base values file contains localstack configuration
if (hasLocalstackConfig(baseValuesObject.getDriverEnvs()) &&
hasLocalstackConfig(baseValuesObject.getExecutorEnvs())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: It's conceivable that the executor config has been removed but it's still set on the driver. Since we use dynamic allocation, a project may not be spinning up executors during local development and so only have the localstack config on the driver.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed logic to accommodate for either executor or driver having the hardcoded localstack credentials. Created new BDD scenarios to test.

@carter-cundiff carter-cundiff force-pushed the 28-localstack-credential-refactor branch 2 times, most recently from 7189b19 to 2711083 Compare May 10, 2024 14:51
…plicating all of my environment properties
@carter-cundiff carter-cundiff force-pushed the 28-localstack-credential-refactor branch from 2711083 to 5903854 Compare May 10, 2024 14:56
@carter-cundiff carter-cundiff merged commit e1260d7 into dev May 10, 2024
@carter-cundiff carter-cundiff deleted the 28-localstack-credential-refactor branch May 10, 2024 17:10
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.

Change credentials for LocalStack between environments without replicating all of my environment properties.
2 participants