Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: resource status and upgrate plugin version to v0.11.1 #80

Merged
merged 2 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/resources/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ resource "multy_database" "example_db" {
- `hostname` (String) The hostname of the RDS instance.
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/kubernetes_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ resource "multy_kubernetes_cluster" "cluster1" {
- `id` (String) The ID of this resource.
- `kube_config_raw` (String, Sensitive) Raw Kubernetes config to be used by kubectl and other compatible tools.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--default_node_pool"></a>
### Nested Schema for `default_node_pool`
Expand All @@ -76,6 +77,7 @@ Required:
- `max_node_count` (Number) Maximum number of nodes.
- `min_node_count` (Number) Minimum number of nodes.
- `name` (String) Name of kubernetes node pool
- `resource_status` (Map of String) Statuses of underlying created resources
- `starting_node_count` (Number) Number of initial nodes. Defaults to the minimum number of nodes.
- `subnet_id` (String) Subnet to place the node and pods in. Must have access to the Internet to connect with the control plane.
- `vm_size` (String) Size of Virtual Machine used for the nodes. Accepted values are `general_micro`, `general_medium`, `general_large`, `general_nano`, `general_small`, `general_xlarge`, `general_2xlarge`, `compute_large`, `compute_xlarge`, `compute_2xlarge`, `compute_4xlarge`, `compute_8xlarge`, `memory_large`, `memory_xlarge`, `memory_2xlarge`, `memory_4xlarge`, `memory_8xlarge`, `memory_12xlarge` or `memory_16xlarge`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/kubernetes_node_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ resource "multy_kubernetes_node_pool" "node_pool" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws_overrides"></a>
### Nested Schema for `aws_overrides`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/network_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ resource "multy_network_interface" "private-nic" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws"></a>
### Nested Schema for `aws`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ resource "multy_network_interface_security_group_association" "nic-association"
### Read-Only

- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources


3 changes: 2 additions & 1 deletion docs/resources/network_security_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ resource "multy_network_security_group" "nsg" {
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand All @@ -84,7 +85,7 @@ Required:
- `direction` (String) Direction of network rule. Accepted values are `ingress`, `egress` or `both`
- `from_port` (Number) From port of network rule port range. Value must be in between 0 and 65535
- `priority` (Number) Priority of network rule. Value must be in between 0 and 0
- `protocol` (String) Protocol of network rule. Accepted values are `tcp`
- `protocol` (String) Protocol of network rule. Accepted values are `tcp`, `udp` or `icmp`
- `to_port` (Number) To port of network rule port range. Value must be in between 0 and 65535


Expand Down
1 change: 1 addition & 0 deletions docs/resources/object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ resource "multy_object_storage" "obj_storage" {
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/object_storage_object.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ resource "multy_object_storage_object" "obj_storage" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources
- `url` (String) URL of object

<a id="nestedatt--aws"></a>
Expand Down
1 change: 1 addition & 0 deletions docs/resources/public_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resource "multy_public_ip" "ip" {
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/route_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ resource "multy_route_table" "rt" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedblock--route"></a>
### Nested Schema for `route`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/route_table_association.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ resource "multy_route_table_association" "subnet1" {

- `aws` (Object) AWS-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--aws))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws"></a>
### Nested Schema for `aws`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/subnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ resource "multy_subnet" "subnet" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws"></a>
### Nested Schema for `aws`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ resource "multy_vault" "v" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/vault_access_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ resource "multy_vault_access_policy" "kv_ap" {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws"></a>
### Nested Schema for `aws`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/vault_secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ resource "multy_vault_secret" s {
- `azure` (Object) Azure-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--azure))
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--aws"></a>
### Nested Schema for `aws`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/virtual_machine.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ resource "multy_virtual_machine" "vm" {
- `identity` (String) Identity of Virtual Machine
- `public_ip` (String) Public IP of Virtual Machine
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--image_reference"></a>
### Nested Schema for `image_reference`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/virtual_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ resource multy_virtual_network vn {
- `gcp` (Object) GCP-specific ids of the underlying generated resources (see [below for nested schema](#nestedatt--gcp))
- `id` (String) The ID of this resource.
- `resource_group_id` (String)
- `resource_status` (Map of String) Statuses of underlying created resources

<a id="nestedatt--gcp_overrides"></a>
### Nested Schema for `gcp_overrides`
Expand Down
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ require (
github.com/aws/aws-sdk-go-v2/config v1.15.3
github.com/hashicorp/go-azure-helpers v0.28.0
github.com/hashicorp/terraform-plugin-docs v0.7.0
github.com/hashicorp/terraform-plugin-framework v0.6.1
github.com/hashicorp/terraform-plugin-go v0.8.0
github.com/hashicorp/terraform-plugin-log v0.3.0
github.com/hashicorp/terraform-plugin-framework v0.11.1
github.com/hashicorp/terraform-plugin-go v0.14.0
github.com/hashicorp/terraform-plugin-log v0.7.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.1
github.com/mitchellh/go-homedir v1.1.0
github.com/multycloud/multy v0.1.56
github.com/multycloud/multy v0.1.57
golang.org/x/exp v0.0.0-20220218215828-6cf2b201936e
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.28.0
google.golang.org/grpc v1.48.0
google.golang.org/protobuf v1.28.1
)

//replace github.com/multycloud/multy v0.1.56 => ../multy
Expand Down Expand Up @@ -50,27 +50,27 @@ require (
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.7 // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
github.com/hashicorp/go-hclog v1.2.0 // indirect
github.com/hashicorp/go-hclog v1.2.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/go-plugin v1.4.4 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.4.0 // indirect
github.com/hashicorp/hc-install v0.3.1 // indirect
github.com/hashicorp/hcl/v2 v2.11.1 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.16.0 // indirect
github.com/hashicorp/terraform-json v0.13.0 // indirect
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 // indirect
github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c // indirect
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
github.com/huandu/xstrings v1.3.2 // indirect
Expand All @@ -96,7 +96,7 @@ require (
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c // indirect
golang.org/x/sys v0.0.0-20220318055525-2edf467146b5 // indirect
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220317150908-0efb43f6373e // indirect
Expand Down
Loading