KubeNow
KubeNow copied to clipboard
Add AWS IAM key id to Tags
Hi, in the AWS billing console you can filter resources by their tags. To get all costs incurred by some user, consider adding to https://github.com/kubenow/KubeNow/blob/master/aws/node/main.tf for everything that gets billed, e.g. at least nodes and volumes:
tags {
Name = "${var.name_prefix}-${format("%03d", count.index)}"
sshUser = "${var.ssh_user}"
aws_access_key_id = "${var.aws_access_key_id}"
}
}
(untested code). This is AWS specific and not needed on other providers. Yours, Steffen
Looks good. Will also add volume_tags to instance to keep track of instance root volumes and aws_access_key_id to all volumes tags