-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EC2 tags #555
Comments
@ckajrolkar can you share an example kitchen.yml file? without it, kinda impossible to help trouble shoot. for example the following example launches an instance with both the driver:
name: ec2
instance_type: t3.medium
region: us-east-2
interface: id
user_data: |
#!/bin/bash
echo "hello userdata"
image_search:
owner-id: "099720109477" #canonical account id
name: "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"
tags:
created-by: test-kitchen
transport:
username: ubuntu
platforms:
- name: platform-1
provisioner:
name: shell
verifier:
name: shell
command: |
echo 'hello verifier'
exit 0
suites:
- name: default
provisioner:
name: shell
command: echo "hello default suite provisioner"
driver:
name: ec2
tags:
Name: test-kitchen-example-instance Stepscreate the instance
verify tags are created using the aws-cli
|
3 tasks
Shipped in 3.12.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, We have observed that due when perform kitchen create using ec2 its not taking tags that we define in yml file .
what should be formate set addtiona tags as we have setting up tag policy in aws
The text was updated successfully, but these errors were encountered: