- Published
- Author
- Nisanth
Redis Cache : One of the most common use cases for Redis is caching frequently accessed data to reduce the load on databases and speed up response times
At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.
export TF_LOG=DEBUG this sets the TF_LOG environment variable to DEBUG, instructing Terraform to output detailed debug logs during its execution( Terraform apply ).unset TF_LOG this unsets (removes) the TF_LOG environment variable, effectively turning off debug logging for Terraform execution.terraform workspace show command is used to display the name of the current workspace.terraform workspace new <name> command is used when you want to create new workspace.terraform workspace list command used to list all the workspaces.terraform workspace select example1 can switch between the workspaces.docker-compose up command starts and runs all the services defined in a docker-compose.yml file, creating and starting containers.docker-compose up -d command which starts the containers in the background and leaves them running (daemon processes) ."terraform init -backend-config=backend.hcl" command initializes your Terraform directory and configures its backend according to the settings specified in the backend.hcl file, for managing infrastructure."terraform init -migrate-state"authorizationParams: {
screen_hint: "signup",
ui_locales: "en",
custom_param: "custom_param",
},authorizationParams object is used in methods loginWithRedirect, withAuthenticationRequired provided by @auth0/auth0-react/authorize endpoint when we open the Universal login or signup form from Auth0post login custom actionsdocker build -f command is used to specify the name of the Dockerfile to use for building a Docker image. This flag allows you to specify the path to the Dockerfile that you want to use for building the image. However, if you have a Dockerfile with a different name or located in a different directory, you can use the -f flag followed by the path to the Dockerfile.syntax :
terraform {
backend "<BACKEND_NAME>" {
[CONFIG...]
}
}example :
terraform {
backend "s3" {
bucket = "my-terraform-state"
key = "state/production/terraform.tfstate"
region = "us-east-1"
encrypt = true
dynamodb_table = "my-terraform-lock"
}
}act utility can be used to simulate GitHub Actions locally, for testing the GitHub workflows.To install act on Mac:[To run the jobs locally, docker must be running on the system.]brew install act
To use theactnavigate to the GitHub repo and useact -lto list all jobs
To run any particular job:act -j job_id
To run a job on any particular platform:act -j job_id -P
Showing 31 to 33 of 82 results
Codemancers can bring your vision to life and help you achieve your goals