- Newest
- Most votes
- Most comments
Appears to have been a bug, as permissions now show as having been granted properly in the interface without any actual changes to the policies. Have yet to actually test and confirm the permissions are working, but thanks for the fix!
Based on the information available, it appears that you're encountering an issue with specifying Route 53 hosted zones as resources in IAM policies.
When working with Amazon Route 53 IAM policies, some actions do support resource-level permissions while others require you to specify "" as the resource. The examples in the AWS documentation show that for managing public hosted zones and their records, the policy typically uses a wildcard character () in the Amazon Resource Name (ARN) to grant access to all hosted zones owned by the current AWS account.
For example, the AmazonRoute53DomainsFullAccess policy uses "*" as the resource identifier:
{
"Effect": "Allow",
"Action": [
"route53:CreateHostedZone",
"route53domains:*"
],
"Resource": [
"*"
]
}
For private hosted zones, the policy examples also show using "*" as the resource, along with the necessary permissions:
{
"Effect": "Allow",
"Action": [
"route53:CreateHostedZone",
"route53:AssociateVPCWithHostedZone"
],
"Resource": "*"
}
The issue you're experiencing with the specific ARN format "arn:aws:route53:::hostedzone/{Route53HostedZoneID}" causing "This action does not have an applicable resource" warnings suggests that despite what some documentation might indicate, certain Route 53 actions may not support resource-level permissions in the way you're trying to implement them.
For your goal of allowing users to update record sets on just a specific zone, you might need to use a combination of "*" for the Resource element and then use condition keys to restrict access to specific hosted zones. The VPC permissions example shows that Route 53 supports IAM policy conditions for fine-grained access control, which might be a better approach for your use case.
Sources
Using identity-based policies (IAM policies) for Amazon Route 53 - Amazon Route 53
AmazonRoute53DomainsFullAccess - AWS Managed Policy
Overview of managing access permissions to your Amazon Route 53 resources - Amazon Route 53
AWS managed policies for Amazon Route 53 - Amazon Route 53
VPC permissions - Amazon Route 53
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 3 months ago
