brianloss commented on pull request #185:
URL: https://github.com/apache/accumulo-testing/pull/185#issuecomment-1031721680


   > 2\. add a variable for the S3 bucket name, it has to be globally unique 
(or maybe just generate a UUID)
   
   Regarding this item, for the terraform state, it could be good to generate a 
name and make it a variable in the shared_state setup. The values used when you 
run terraform init for the "main" module can be overridden on the command line 
(but based on my testing cannot be controlled through variables). So if in the 
shared_state setup you named the s3 bucket "myS3bucket", then when you init 
under the aws dir, you can do:
   ```
   terraform init -backend-config=bucket=myS3bucket"
   ```
   After you do that, the override will be stored in the local state, so you 
can just do `terraform plan` and `terraform init`. This is documented in the 
README now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to