worried-honey-61577
01/06/2021, 3:52 PMprovider/resources.go
Resources: map[string]*tfbridge.ResourceInfo{
// Map each resource in the Terraform provider to a Pulumi type. Two examples
// are below - the single line form is the common case. The multi-line form is
// needed only if you wish to override types or other default options.
//
// "aws_iam_role": {Tok: makeResource(mainMod, "IamRole")}
//
// "aws_acm_certificate": {
// Tok: makeResource(mainMod, "Certificate"),
// Fields: map[string]*tfbridge.SchemaInfo{
// "tags": {Type: makeType(mainPkg, "Tags")},
// },
// },
},
DataSources: map[string]*tfbridge.DataSourceInfo{
// Map each resource in the Terraform provider to a Pulumi function. An example
// is below.
// "aws_ami": {Tok: makeDataSource(mainMod, "getAmi")},
},
tall-librarian-49374
01/06/2021, 3:55 PMworried-honey-61577
01/06/2021, 4:13 PM