# Atlantis Notes

Atlantis allows for applying your TF code from a github comment. 
Atlantis Lock is NOT a Terraform Lock. Atlantis lock is only for two Git PRs. 


@atlantis plan

@atlantis apply CAUTION! will apply changes to ALL environments

Only apply to one environment. 
@atlantis apply -p msoc_vpc_prod


It is 100% aware of modules and workspaces so it will do the needful
there is no such thing as a authorize list tho so ANYONE who leaves the comment "atlantis apply" will trigger it


--------------------
## How to delete locks

#1 option,
If atlantis runs a plan and doesn't unlock terraform, delete the fargate docker and rebuild it (should be a quick action)

I have to go into the AWS console and make the SG on the LB open to everything hit it and delete the lock
then remove my any any rule

Root AWS account -> Atlantis LB -> http://atlantis-1897367069.us-east-1.elb.amazonaws.com:4141
http://3.231.59.107:4141/
--------------------
