KubeNow icon indicating copy to clipboard operation
KubeNow copied to clipboard

Add AWS IAM key id to Tags

Open sneumann opened this issue 6 years ago • 1 comments

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

sneumann avatar Mar 08 '18 21:03 sneumann

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

andersla avatar Mar 09 '18 09:03 andersla