Skip to content

Instantly share code, notes, and snippets.

@bluethundr
Created September 13, 2016 16:32
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 bluethundr/adebc599c4314761c2404ea18f62c861 to your computer and use it in GitHub Desktop.
Save bluethundr/adebc599c4314761c2404ea18f62c861 to your computer and use it in GitHub Desktop.
## Trying to get this to work:
https://docs.saltstack.com/en/latest/topics/cloud/aws.html
## getting this error
[root@salt:~] #salt-cloud -p base_ec2 ami.example.com
[ERROR ] Profile base_ec2 is not defined
Error:
Profile base_ec2 is not defined
## This is where I have the profile defined
[root@salt:~] #cat /etc/salt/cloud.profiles.d/salt_profiles
base_ec2_private:
provider: my-ec2-us-east-1-public-ips
image: ami-869a9cee
size: t2.micro
ssh_username: ec2-user
base_ec2_public:
provider: my-ec2-us-east-1-public-ips
image: ami-869a9cee
size: t2.micro
ssh_username: ec2-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment