Skip to content
Permalink
Browse files

small version changes

Change-Id: I08b9be86e18df7cefe5540951b298bbc23be5142
  • Loading branch information...
sergeylanzman committed May 4, 2019
1 parent f125a20 commit 316af851895bd6c0a07198465b8ef7f0313b3066
Showing with 23 additions and 5 deletions.
  1. +2 −2 README.md
  2. +1 −1 aws_terraforming/aws_provider.go
  3. +2 −1 cmd/root.go
  4. +17 −0 cmd/version.go
  5. +1 −1 gcp_terraforming/gcp_provider.go
@@ -59,8 +59,8 @@ Readonly permissions
`~/.terraform.d/plugins/{darwin,linux}_amd64`, as appropriate.

Links for download terraform providers:
* google cloud provider - [here](https://releases.hashicorp.com/terraform-provider-google/)
* aws provider - [here](https://releases.hashicorp.com/terraform-provider-aws/)
* google cloud provider >2.0.0 - [here](https://releases.hashicorp.com/terraform-provider-google/)
* aws provider >1.56.0 - [here](https://releases.hashicorp.com/terraform-provider-aws/)

Information on provider plugins:
https://www.terraform.io/docs/configuration/providers.html
@@ -27,7 +27,7 @@ type AWSProvider struct {
region string
}

const awsProviderVersion = "~>1.56.0"
const awsProviderVersion = ">1.56.0"

func (p AWSProvider) GetResourceConnections() map[string]map[string][]string {
return map[string]map[string][]string{
@@ -22,9 +22,10 @@ func NewCmdRoot() *cobra.Command {
cmd := &cobra.Command{
SilenceUsage: true,
SilenceErrors: true,
//Version: version.String(),
Version: version,
}
cmd.AddCommand(newImportCmd())
cmd.AddCommand(versionCmd)
return cmd
}

@@ -0,0 +1,17 @@
package cmd

import (
"fmt"

"github.com/spf13/cobra"
)

const version = "v0.7.0"

var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number of Terraformer",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Terraformer " + version)
},
}
@@ -21,7 +21,7 @@ import (
"strings"
)

const gcpProviderVersion = "~>2.0.0"
const gcpProviderVersion = ">2.0.0"

type GCPProvider struct {
terraform_utils.Provider

0 comments on commit 316af85

Please sign in to comment.
You can’t perform that action at this time.