[Solved] Unable to connect to the server: dial tcp: lookup with AWS EKS
If you have received the following error while trying to issue commands to kubectl
:
Unable to connect to the server: dial tcp: lookup
Then it may be …
Read Article →83 articles about terraform development, tools, and best practices
If you have received the following error while trying to issue commands to kubectl
:
Unable to connect to the server: dial tcp: lookup
Then it may be …
Read Article →Storing Terraform states files locally is not recommended. Instead you should use a backend
such as as S3 from AWS.
To do this, you just need to add …
Read Article →An output
in Terraform is a way to view the result of an action that has been performed, or resource that has been created.
Let’s say that you …
Read Article →If you are automating AWS resources in Terraform, then you will want to not hardcode things as much as possible.
Terraform makes it possible to pull …
Read Article →AWS AppStream has finally made its way into the Terraform AWS Provider.
If you are using hashicorp/aws
version 3.67
or above, then you can do the …
If you have been handed the Acquiring state lock
error message about ConditionalCheckFailedException: The conditional request
then you have 2 options …
If you need to lock an AWS Lambda function down to a source account for security reasons (PCI.Lambda.1) then you can do so by using the source_account …
I needed to execute a Terraform null_resource
provisioner
(local-exec) block to run an awscli
command, but assume a role passed down to it.
There was …
Read Article →Security groups are a critical component for securing resources in AWS. This guide will show you how to create and manage security groups in AWS using …
Read Article →If you need to run a local application from your Terraform scripts, you can call out to the provisioner
local-exec
and issue the command
syntax: …
Terraform is a fantastic tool to help automate your infrastructure as code.
Quite a few times however, I have noticed a few strange issues, one of …
Read Article →Modern AWS architectures combine multiple services in complex patterns—EKS clusters with RDS databases, Lambda functions …
Read Article →