driftctl/pkg/resource/aws/aws_iam_role_policy.go

16 lines
468 B
Go

package aws
import (
"github.com/cloudskiff/driftctl/pkg/resource"
)
const AwsIamRolePolicyResourceType = "aws_iam_role_policy"
func initAwsIAMRolePolicyMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.UpdateSchema(AwsIamRolePolicyResourceType, map[string]func(attributeSchema *resource.AttributeSchema){
"policy": func(attributeSchema *resource.AttributeSchema) {
attributeSchema.JsonString = true
},
})
}