cloud-config.yaml validator


https://coreos.com/validate/

 

eg:

 

#cloud-config
coreos:
 units:
  - name: etcd.service
    command: start
users:
  - name: core
    ssh-authorized-keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXBLkjoZAxe2q54z3DnkYnGCwZSR82nPTTBHXibaZFo3Pzad/Pt+irHavIrPPI97P4HJMFHqx0kX1x5jDsQxnA3iRI9dz+q3WGJjikVea2s1ymXm49ZAq5r4w2e+7PTYW7x8FbOR64VjHNcV4nb60M/Y+NZOxDHvlFlKj4YUj7j6KOY4a3CEXe9Fofe1+wDCdgZOFy752L9Cs1v+xcioL/peHMtxq6OVPgYX8JuB99FiaqW+9znYYGqAyPtFsv7W2hH6f6MJBFSbxouk3+ddxsE/28C+9qmmdDGGw6/uQvTRU9DkJCLqKKo1hVEmjzAi0ikJX4Sqqgun9JwBs7w90/ Generated by [email protected]
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/ogPrExKTi8234JzYNNNnU1b7Vu10kZywmIHM590HHApCEUHJ5SafLVbiNvwTheTJbaPuxksFZUhKocL9C2pKP9rQHcFT2zJOlRPDSjiLMYgey7CrYVqw5f5fkOFkofw7WIwlb3mQBpzAH8iKJbJwEF18gp2+tfAoZr34Vr3c53JOKh5+62vlFEpDDe2SzEWugPjOaB1/3WM5CPZV1v3CfZRWYMNgXykqyqWeiyRArVvRjIOvDj9+wy/GdkBMJ5wwKHdqS1yubxXoR0kx3qCvfTROi5H55AkR24jbYSewYcIfKl6+ozliAdBC5JsAM3sRo+1Egiv0R5fImGDth3i7I1ynfcSyRW5haa8ljSkr4ZIIEn5sN5tZ4nKioXDBUyNQWRGCYOYfwmCH5JrYZd9Hi9XaKxAdcc+Mog8G4PqnKULKPUuUVkaEQLWFc34b3Cc+E+DqdUX7xcSeHsf7PN73dmC0Fb6qyw+PWovj5yNckB9SY3UxrFw9cQNunAmc11c= Generated by [email protected]
  - groups:
     - sudo
     - docker