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

Dat 16824 #212

Merged
merged 48 commits into from
May 28, 2024
Merged

Dat 16824 #212

merged 48 commits into from
May 28, 2024

Conversation

jandroav
Copy link
Contributor

No description provided.

jandroav added 30 commits May 23, 2024 11:13
…ng ephemeral cloud infrastructure using Terraform and Spacectl. Includes linting, formatting, initializing, validating, previewing, deploying, and destroying infrastructure based on user input action.
…nce from 'master' to 'DAT-16824' for checkout action to target the correct branch
…secret to use BOT_TOKEN for installing spacectl to ensure correct permissions are set
… ls -ltr command before running terraform fmt for debugging purposes
…ield from Terraform Format job to run in the default directory
…Validate steps to streamline workflow and improve efficiency
… secrets for Terraform compatibility

🚀 (.github/workflows/ephemeral-cloud-infra.yml): update workflow to create and destroy ephemeral stack based on deploy action
… secrets to simplify configuration and improve readability
…ephemeral infrastructure based on input action. Add support for deploying and destroying ephemeral infrastructure using spacectl commands.
… stack task for better control and visibility
…g the dynamodb table by introducing a new boolean input parameter 'dynamodb' with a default value of false

🔧 (ephemeral-cloud-infra.yml): update the 'terraform destroy' command to include tail option for better logging visibility
…troy' boolean flag for destroying ephemeral cloud infrastructure. Adjust workflow steps to conditionally execute based on the 'destroy' flag value.
…ploy option for deploying the ephemeral cloud infrastructure. Adjust job conditions to execute based on the deploy input value.
…ifying stack ID to destroy as an input parameter to improve flexibility and customization
…ERAL_STACK_ID to stack_id for consistency

🔧 (ephemeral-cloud-infra.yml): update output variable assignment to use GITHUB_OUTPUT instead of set-output for proper workflow output handling
…_id to provide the stack ID of the ephemeral cloud infrastructure.
…namodb variable to enable dynamic creation of DynamoDB resources during infrastructure deployment
…aform state as artifacts to improve traceability and debugging capabilities
…le based on workflow outputs and inputs to ensure correct stack id is used for deployment and destruction of ephemeral infrastructure
… to assume a specific role for AWS operations in us-east-1 region
…for production environment to AWS_PROD_GITHUB_OIDC_ROLE_ARN_BUILD_LOGIC secret
…security and access control

🔧 (ephemeral-cloud-infra.yml): update role-to-assume secret for AWS credentials to match the correct environment and application role
…secret to match the correct role for the build logic process
…B_OIDC_ROLE_ARN_BUILD_LOGIC secret to AWS_DEV_GITHUB_OIDC_ROLE_ARN_INFRASTRUCTURE for clarity and consistency in role naming.
…for building logic to ensure correct permissions are assumed
…prevent unnecessary creation of DynamoDB table during workflow execution
…ing TF_VAR_create_dynamodb variable before deploying ephemeral infrastructure
…amodb variable to clean up configuration file
…tack_id variable to improve Terraform configuration clarity
jandroav and others added 18 commits May 24, 2024 11:49
…e the last part of the stack_id for better readability
…to correctly extract the stack ID from the output of create_stack step
…rastructure repository ref to 'master' branch to fix workflow issue
…or dynamodb option to clarify it deploys or destroys the dynamodb infrastructure
… creating/destroying test automation cloud infrastructure

📝 (README.md): Add description for ephemeral-cloud-infra.yml workflow in README table
…tions/download-artifact to v4 for improved functionality and compatibility
…g documentdb infrastructure by setting TF_VAR_create_documentdb variable based on inputs.documentdb value
…on to use DAT-16824 branch instead of master for liquibase-infrastructure repository
…master to ensure the latest changes are used in the workflow
…on to use specific branch DAT-16824 instead of master for liquibase-infrastructure repository
…clude flags for better performance and efficiency
@jandroav jandroav merged commit 43d19c6 into main May 28, 2024
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.

1 participant