Skip to content

Commit

Permalink
Merge pull request #928 from replicatedhq/laverya/testgrid-burst-fix
Browse files Browse the repository at this point in the history
fix testgrid burst terraform
  • Loading branch information
laverya authored Nov 19, 2020
2 parents e08132c + 375b22b commit 7252d3c
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions testgrid/deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ output "ids" {
value = data.packet_spot_market_request.dreq.device_ids
}

//resource "packet_spot_market_request" "burst-request" {
// project_id = var.project_id
// max_bid_price = var.max_bid
// facilities = var.region
// devices_min = 1
// devices_max = 4
//
// instance_parameters {
// hostname = var.tg_hostname_burst
// billing_cycle = "hourly"
// operating_system = var.tg_os
// plan = var.instance_type
// userdata = data.template_cloudinit_config.config.rendered
// }
//}
//
//data "packet_spot_market_request" "sreq" {
// request_id = packet_spot_market_request.burst-request.id
//}
//output "burst-ids" {
// value = data.packet_spot_market_request.sreq.device_ids
//}
# resource "packet_spot_market_request" "burst-request" {
# project_id = var.project_id
# max_bid_price = var.max_bid
# facilities = var.region
# devices_min = 1
# devices_max = 4

# instance_parameters {
# hostname = var.tg_hostname_burst
# billing_cycle = "hourly"
# operating_system = var.tg_os
# plan = var.instance_type
# userdata = file("${path.module}/tg-script.sh")
# }
# }

# data "packet_spot_market_request" "sreq" {
# request_id = packet_spot_market_request.burst-request.id
# }
# output "burst-ids" {
# value = data.packet_spot_market_request.sreq.device_ids
# }

0 comments on commit 7252d3c

Please sign in to comment.