You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/additional-tags.md
+30-7Lines changed: 30 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,6 @@ The AWS Gateway API Controller automatically applies some tags to resources it c
4
4
5
5
The `application-networking.k8s.aws/tags` annotation specifies additional tags that will be applied to AWS resources created.
6
6
7
-
## Supported Resources
8
-
9
-
-**HTTPRoute** - Tags applied to VPC Lattice Services, Listeners, Rules, Target Groups, and Service Network Service Associations
10
-
-**ServiceExport** - Tags applied to VPC Lattice Target Groups
11
-
-**AccessLogPolicy** - Tags applied to VPC Lattice Access Log Subscriptions
12
-
-**VpcAssociationPolicy** - Tags applied to VPC Lattice Service Network VPC Associations
13
-
14
7
## Usage
15
8
16
9
Add comma separated key=value pairs to the annotation:
@@ -36,3 +29,33 @@ metadata:
36
29
spec:
37
30
# ... rest of spec
38
31
```
32
+
33
+
## Required IAM Permissions
34
+
35
+
For the additional tags functionality to work properly, the IAM role linked to the controller's service account must also include these permissions:
36
+
37
+
```json
38
+
{
39
+
"Effect": "Allow",
40
+
"Action": [
41
+
"tag:TagResources",
42
+
"tag:UntagResources"
43
+
],
44
+
"Resource": "*"
45
+
}
46
+
```
47
+
48
+
### How to Ensure You Have These Permissions
49
+
50
+
The `config/iam/recommended-inline-policy.json` file contains all the required permissions including these tagging permissions.
51
+
52
+
-**If you are setting up for the first time**: The recommended inline policy already includes all the required permissions.
53
+
-**If you used the setup steps in the [deploy guide](https://www.gateway-api-controller.eks.aws.dev/latest/guides/deploy/#setup)**: You need to update the existing `VPCLatticeControllerIAMPolicy` to include the updated permissions.
54
+
55
+
56
+
## Supported Resources
57
+
58
+
-**HTTPRoute** - Tags applied to VPC Lattice Services, Listeners, Rules, Target Groups, and Service Network Service Associations
59
+
-**ServiceExport** - Tags applied to VPC Lattice Target Groups
60
+
-**AccessLogPolicy** - Tags applied to VPC Lattice Access Log Subscriptions
61
+
-**VpcAssociationPolicy** - Tags applied to VPC Lattice Service Network VPC Associations
0 commit comments