You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration in this directory creates GitHub repository webhooks configured to Atlantis URL. This example uses value of webhook secret which got generated when Atlantis setup by referring to terraform.tfstate, so this example has to run after Atlantis.
To run this code you need to copy terraform.tfvars.sample into terraform.tfvars and put your GitHub token and Github owner there or specify them using environment variables (TF_VAR_github_token and TF_VAR_github_owner). Once ready, execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy when you don't need these resources.