Skip to content

Commit

Permalink
change sharedfilesystem examples
Browse files Browse the repository at this point in the history
  • Loading branch information
morozovalekseywot committed Dec 6, 2024
1 parent 2e7f39e commit 1bc622a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ description: |-

# VKCS Provider's changelog

### v0.9.1 (unreleased)
- Fix an issue with marking share as deleted while share's port in subnet is still active

#### v0.9.0
- Add vkcs_cloud_monitoring resource
- Add cloud_monitoring argument to vkcs_compute_instance
Expand Down
1 change: 1 addition & 0 deletions examples/sharedfilesystem/base.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resource "vkcs_networking_network" "sfs" {
name = "network"
sdn = "sprut"
}

resource "vkcs_networking_subnet" "sfs" {
Expand Down
2 changes: 1 addition & 1 deletion examples/sharedfilesystem/share/base-networking.tf
4 changes: 0 additions & 4 deletions examples/sharedfilesystem/share/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@ resource "vkcs_sharedfilesystem_share" "data" {
share_type = "default_share_type"
size = 1
share_network_id = vkcs_sharedfilesystem_sharenetwork.data.id

depends_on = [
vkcs_networking_router_interface.app
]
}
2 changes: 1 addition & 1 deletion examples/sharedfilesystem/share_access/base-networking.tf
2 changes: 1 addition & 1 deletion examples/sharedfilesystem/sharenetwork/base-networking.tf
4 changes: 2 additions & 2 deletions examples/sharedfilesystem/sharenetwork/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "vkcs_sharedfilesystem_sharenetwork" "data" {
name = "sharenetwork-tf-example"
description = "sharing network for tf example"
neutron_net_id = vkcs_networking_network.app.id
neutron_subnet_id = vkcs_networking_subnet.app.id
neutron_net_id = vkcs_networking_network.sfs.id
neutron_subnet_id = vkcs_networking_subnet.sfs.id
}

0 comments on commit 1bc622a

Please sign in to comment.