Skip to content

Instantly share code, notes, and snippets.

@ylem
Created January 16, 2021 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ylem/a3085c84a33dd68af5bc51909cceb20e to your computer and use it in GitHub Desktop.
Save ylem/a3085c84a33dd68af5bc51909cceb20e to your computer and use it in GitHub Desktop.
AWS/Terraform tips
1: create a new API:
* Create policy
* Create role
* Create Lambda ( try to use ```terraform plan``` to create .zip file)
* Create APIGateway
Done
2: ERROR - Terraform: Error locking state: Error acquiring the state lock
Run ```terraform force-unlock <LOCK_ID>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment