2021-03-01 12:39:00 +00:00
|
|
|
// GENERATED, DO NOT EDIT THIS FILE
|
|
|
|
package github
|
|
|
|
|
2021-05-21 14:09:45 +00:00
|
|
|
import "github.com/cloudskiff/driftctl/pkg/resource"
|
2021-03-25 11:13:52 +00:00
|
|
|
|
2021-03-01 12:39:00 +00:00
|
|
|
const GithubTeamMembershipResourceType = "github_team_membership"
|
|
|
|
|
2021-05-11 12:32:33 +00:00
|
|
|
func initGithubTeamMembershipMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
|
2021-08-09 14:03:04 +00:00
|
|
|
resourceSchemaRepository.SetNormalizeFunc(GithubTeamMembershipResourceType, func(res *resource.Resource) {
|
2021-05-24 15:19:06 +00:00
|
|
|
val := res.Attrs
|
2021-05-11 12:32:33 +00:00
|
|
|
val.SafeDelete([]string{"etag"})
|
|
|
|
})
|
2021-09-17 15:16:06 +00:00
|
|
|
resourceSchemaRepository.SetFlags(GithubTeamMembershipResourceType, resource.FlagDeepMode)
|
2021-05-11 12:32:33 +00:00
|
|
|
}
|