customize and make tfgen
This commit is contained in:
176
provider/cmd/pulumi-resource-incus/bridge-metadata.json
Normal file
176
provider/cmd/pulumi-resource-incus/bridge-metadata.json
Normal file
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"auto-aliasing": {
|
||||
"resources": {
|
||||
"incus_certificate": {
|
||||
"current": "incus:index/certificate:Certificate",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"projects": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_cluster_group": {
|
||||
"current": "incus:index/clusterGroup:ClusterGroup",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_cluster_group_assignment": {
|
||||
"current": "incus:index/clusterGroupAssignment:ClusterGroupAssignment",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_image": {
|
||||
"current": "incus:index/image:Image",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"aliases": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"copied_aliases": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_instance": {
|
||||
"current": "incus:index/instance:Instance",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"device": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"file": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"profiles": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"wait_for": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_instance_snapshot": {
|
||||
"current": "incus:index/instanceSnapshot:InstanceSnapshot",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_network": {
|
||||
"current": "incus:index/network:Network",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_network_acl": {
|
||||
"current": "incus:index/networkAcl:NetworkAcl",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"egress": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"ingress": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_network_forward": {
|
||||
"current": "incus:index/networkForward:NetworkForward",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"ports": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_network_integration": {
|
||||
"current": "incus:index/networkIntegration:NetworkIntegration",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_network_lb": {
|
||||
"current": "incus:index/networkLb:NetworkLb",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"backend": {
|
||||
"maxItemsOne": false
|
||||
},
|
||||
"port": {
|
||||
"maxItemsOne": false,
|
||||
"elem": {
|
||||
"fields": {
|
||||
"target_backend": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_network_peer": {
|
||||
"current": "incus:index/networkPeer:NetworkPeer",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_network_zone": {
|
||||
"current": "incus:index/networkZone:NetworkZone",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_network_zone_record": {
|
||||
"current": "incus:index/networkZoneRecord:NetworkZoneRecord",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"entry": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_profile": {
|
||||
"current": "incus:index/profile:Profile",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"device": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_project": {
|
||||
"current": "incus:index/project:Project",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_storage_bucket": {
|
||||
"current": "incus:index/storageBucket:StorageBucket",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_storage_bucket_key": {
|
||||
"current": "incus:index/storageBucketKey:StorageBucketKey",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_storage_pool": {
|
||||
"current": "incus:index/storagePool:StoragePool",
|
||||
"majorVersion": 1
|
||||
},
|
||||
"incus_storage_volume": {
|
||||
"current": "incus:index/storageVolume:StorageVolume",
|
||||
"majorVersion": 1
|
||||
}
|
||||
},
|
||||
"datasources": {
|
||||
"incus_image": {
|
||||
"current": "incus:index/getImage:getImage",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"aliases": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_profile": {
|
||||
"current": "incus:index/getProfile:getProfile",
|
||||
"majorVersion": 1,
|
||||
"fields": {
|
||||
"device": {
|
||||
"maxItemsOne": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"incus_project": {
|
||||
"current": "incus:index/getProject:getProject",
|
||||
"majorVersion": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto-settings": {}
|
||||
}
|
||||
@@ -15,12 +15,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
_ "embed"
|
||||
|
||||
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
|
||||
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge"
|
||||
|
||||
incus "github.com/brandonkal/pulumi-incus/provider"
|
||||
"github.com/brandonkal/pulumi-incus/provider/pkg/version"
|
||||
)
|
||||
|
||||
//go:embed schema.json
|
||||
@@ -28,5 +28,6 @@ var pulumiSchema []byte
|
||||
|
||||
func main() {
|
||||
// Modify the path to point to the new provider
|
||||
tfbridge.Main("incus", version.Version, incus.Provider(), pulumiSchema)
|
||||
// tfbridge.Main("incus", version.Version, incus.Provider(), pulumiSchema)
|
||||
tfbridge.Main(context.Background(), "incus", incus.Provider(), tfbridge.ProviderMetadata{PackageSchema: pulumiSchema})
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user