So I'm using an AWS EC2 instance. The instance has tags on it that i need to call into my angular application.
How can i call the tags on the current instance using the AWS-sdk aws-cli is installed on the instance.
I pretty much just need the json array of tags for the current instance only. e.g:
"Tags": [
{
"Key": "logical-id",
"Value": "WebServer"
},
{
"Key": "stack-id",
"Value": "<myarn>"
},
{
"Key": "stack-name",
"Value": "myTestStack"
}
],
if you need more info, let me know and ill provide it.
via Ninjakitteh
No comments:
Post a Comment