github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/rules/awsrules/models/mappings/cognito-identity.hcl (about) 1 import = "aws-sdk-go/models/apis/cognito-identity/2014-06-30/api-2.json" 2 3 mapping "aws_cognito_identity_pool" { 4 identity_pool_name = IdentityPoolName 5 developer_provider_name = DeveloperProviderName 6 } 7 8 mapping "aws_cognito_identity_pool_roles_attachment" { 9 identity_pool_id = IdentityPoolId 10 } 11 12 test "aws_cognito_identity_pool" "identity_pool_name" { 13 ok = "identity pool" 14 ng = "identity-pool" 15 } 16 17 test "aws_cognito_identity_pool_roles_attachment" "identity_pool_id" { 18 ok = "us-east-1:0123456789" 19 ng = "0123456789" 20 }