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

space character #7

Open
iman-namjouyan opened this issue Mar 18, 2023 · 2 comments
Open

space character #7

iman-namjouyan opened this issue Mar 18, 2023 · 2 comments

Comments

@iman-namjouyan
Copy link

Hi
In the main.tf file, there is an extra space in line number 42.

image

@r-yeganeh
Copy link

I also ran into this and tried to remove spaces and run terraform apply. Now I get:

creating Amazon DynamoDB Table (devopshobbies-dev-devops-consumer-events): RequestError: send request failed
│ caused by: Post "http://localhost:4566/": dial tcp [127.0.0.1:4566](http://127.0.0.1:4566/): connect: connection refused

@amirajoodani
Copy link

@r-yeganeh
it shows that service behind port 4566 is not response to your request . first check your docker container status :
#Sudo docker ps -a
if localstack container is in restarting status , first you should fix this problem . generally it cuased by localstack image .check your container log :
#sudo docker logs CONTAINER_ID
for fixing this issue use image localstack:localstack:latest in compose file .

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

No branches or pull requests

3 participants