Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

how to migrate cloud to on prem using terraform

hi all,

I want to migrate saas proxies to opdk using terraform for that I have already downloaded proxy bundles

I am using the below terraform providers

https://registry.terraform.io/providers/scastria/apigee/latest/docs

so but i am not able to configure the provider because opdk is on a private cloud having an IP and where pass the IP and configure

i've tried below thing 

 

 

terraform {
  required_providers {
    apigee = {
      source  = "scastria/apigee"
      version = "~> 0.1.0"
    }
  }
}
provider "apigee" {
  username = "apigee@opdk.com"
  password = "Apigee@123"
  organization = "myorg"
  server = "11.22.33.44:9000" // ip and port where apigee opdk is running
  port = 80
  oauth_port = 80
}

resource "apigee_proxy" "example" {
  name = "ShawnTest"
  bundle = "C:\\Users\\LP45\\Desktop\\opdk-migration\\demo_rev1_2021_10_26.zip"
  bundle_hash = filebase64sha256("C:\\Users\\LP45\\Desktop\\opdk-migration\\demo_rev1_2021_10_26.zip")
}

 

 

but it is not working 

could you please let me know how to configure 

even though i tried with management API but not working

@Denis_KALITVI @API-Evangelist @dchiesa1 @cjking  

Thanks

 

 

0 2 310
2 REPLIES 2