mackerel-plugin-aws-transitgateway

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-aws-transitgateway

use Assume Role

create IAM Role with the AWS Account that created Transit Gateway.

  • no MFA
  • allowed Policy
    • CloudWatchReadOnlyAccess

create IAM Policy with the AWS Account that runs mackerel-plugin-aws-transitgateway

{
    "Version": "2012-10-17",
    "Statement": {
        "Effect": "Allow",
        "Action": "sts:AssumeRole",
        "Resource": "arn:aws:iam::123456789012:role/YourIAMRoleName"
    }
}

attach IAM Policy to AWS Resouce that runs mackerel-plugin-aws-transitgateway

Synopsis

use assume role

mackerel-plugin-aws-transitgateway -role-arn <IAM Role Arn> -region <region> -tgw <Transit Gateway Resource ID>

use aws profile

mackerel-plugin-aws-transitgateway -region <region> -tgw <Transit Gateway Resource ID> [-access-key-id <AWS Access Key ID> -secret-key-id <WS Secret Access Key ID>]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL