Skip to content

Commit

Permalink
doc(awsvpc): correct the required permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
knight42 committed Mar 18, 2020
1 parent 4ff77dc commit 82ca072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Recommended when running within an Amazon VPC, AWS VPC creates IP routes in an [

Requirements:
* Running on an EC2 instance that is in an Amazon VPC.
* Permissions required: `CreateRoute`, `DeleteRoute`,`DescribeRouteTables`, `ModifyInstanceAttribute`, `DescribeInstances` (optional)
* Permissions required: `CreateRoute`, `DeleteRoute`,`DescribeRouteTables`, `ModifyNetworkInterfaceAttribute`, `DescribeInstances` (optional)

Type and options:
* `Type` (string): `aws-vpc`
Expand Down
2 changes: 1 addition & 1 deletion backend/awsvpc/awsvpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type backendConfig struct {

func (conf *backendConfig) routeTables() ([]string, error) {
if table, ok := conf.RouteTableID.(string); ok {
log.Info("RouteTableID configured as string: %s", table)
log.Infof("RouteTableID configured as string: %s", table)
return []string{table}, nil
}
if rawTables, ok := conf.RouteTableID.([]interface{}); ok {
Expand Down

0 comments on commit 82ca072

Please sign in to comment.