Skip to content

Commit

Permalink
removed backup from full filestore test
Browse files Browse the repository at this point in the history
  • Loading branch information
googlerjk committed Dec 1, 2022
1 parent ad46c97 commit fbdfacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
3 changes: 1 addition & 2 deletions mmv1/products/filestore/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
name: "filestore_instance_full"
primary_resource_id: "instance"
vars:
backup_name: "tst-bkup"
instance_name: "tst-inst"
instance_name: "test-instance"
- !ruby/object:Provider::Terraform::Examples
name: "filestore_instance_enterprise"
primary_resource_id: "instance"
Expand Down
14 changes: 1 addition & 13 deletions mmv1/templates/terraform/examples/filestore_instance_full.tf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "google_filestore_instance" "<%= ctx[:primary_resource_id] %>" {
tier = "BASIC_SSD"

file_shares {
capacity_gb = 2560
capacity_gb = 2660
name = "share1"

nfs_export_options {
Expand All @@ -28,15 +28,3 @@ resource "google_filestore_instance" "<%= ctx[:primary_resource_id] %>" {
connect_mode = "DIRECT_PEERING"
}
}

resource "google_filestore_backup" "backup" {
name = "<%= ctx[:vars]["backup_name"] %>"
location = "us-central1"
description = "This is a filestore backup for the test instance"
labels = {
"files":"label1",
"other-label": "label2"
}
source_instance = google_filestore_instance.instance.id
source_file_share = "share1"
}

0 comments on commit fbdfacd

Please sign in to comment.