Closed davidATsains closed 4 years ago
The examples with workspaces should only be creating an aws_instance
resource. Why do you have aws_s3_bucket
and aws_dynamodb_table
there too? Those likely exist from earlier and don't need to be created again!
The examples with workspaces should only be creating an
aws_instance
resource. Why do you haveaws_s3_bucket
andaws_dynamodb_table
there too? Those likely exist from earlier and don't need to be created again!
Thank you . Normally you instruct the reader to remove it as it is ready created. I like the clarity when you instruct the reader to clean up. I believe that this is important for beginners like me. Please in the future editions . - it would be good to have more these kind of pointers in the book.
Understood, thx for the feedback!
Chapter 3 Sub section: Isolation via workspace I have followed this section. I created the new worksapce called example1. i run terraform plan and then terraform apply but it did not complete. Instead I got an error![Screenshot 2019-12-31 at 12 09 43](https://user-images.githubusercontent.com/57905849/71622152-c0ba1f00-2bcb-11ea-8d5e-794062a20b69.png)
from the book, it is suppose to only apply the EC2 instance but instead it want to create the S3 bucket, DynamoDb table and EC2 instances.
Please help me understand where this is happening
here is my code