Move to @snyk

main
Elie 2021-12-06 14:29:39 +01:00
parent 94d7c397f7
commit 1cdccb0be0
No known key found for this signature in database
GPG Key ID: 399AF69092C727B6
613 changed files with 1998 additions and 1998 deletions

View File

@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: '📝 Documentation'
url: https://github.com/cloudskiff/driftctl-docs/issues/new
url: https://github.com/snyk/driftctl-docs/issues/new
about: Please open documentation issue on driftctl docs repository
- name: '👾 Support chat'
url: https://discord.gg/NMCBxtD7Nd

View File

@ -28,7 +28,7 @@ builds:
- arm
- arm64
- 386
ldflags: "-s -w -X github.com/cloudskiff/driftctl/build.env={{ .Env.ENV }} -X github.com/cloudskiff/driftctl/pkg/version.version={{ .Tag }}"
ldflags: "-s -w -X github.com/snyk/driftctl/build.env={{ .Env.ENV }} -X github.com/snyk/driftctl/pkg/version.version={{ .Tag }}"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
format: binary

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/cloudskiff/driftctl
module github.com/snyk/driftctl
go 1.16

View File

@ -1,8 +1,8 @@
package logger
import (
"github.com/cloudskiff/driftctl/build"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/build"
"github.com/spf13/viper"
)

14
main.go
View File

@ -5,17 +5,17 @@ import (
"os"
"time"
"github.com/cloudskiff/driftctl/build"
"github.com/cloudskiff/driftctl/logger"
"github.com/cloudskiff/driftctl/pkg/cmd"
cmderrors "github.com/cloudskiff/driftctl/pkg/cmd/errors"
"github.com/cloudskiff/driftctl/pkg/config"
"github.com/cloudskiff/driftctl/pkg/version"
"github.com/cloudskiff/driftctl/sentry"
"github.com/fatih/color"
gosentry "github.com/getsentry/sentry-go"
"github.com/joho/godotenv"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/build"
"github.com/snyk/driftctl/logger"
"github.com/snyk/driftctl/pkg/cmd"
cmderrors "github.com/snyk/driftctl/pkg/cmd/errors"
"github.com/snyk/driftctl/pkg/config"
"github.com/snyk/driftctl/pkg/version"
"github.com/snyk/driftctl/sentry"
)
func init() {

View File

@ -3,7 +3,7 @@
package mocks
import (
alerter "github.com/cloudskiff/driftctl/pkg/alerter"
alerter "github.com/snyk/driftctl/pkg/alerter"
mock "github.com/stretchr/testify/mock"
)

View File

@ -3,7 +3,7 @@ package alerter
import (
"fmt"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
)
type AlerterInterface interface {

View File

@ -4,7 +4,7 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
)
func TestAlerter_Alert(t *testing.T) {

View File

@ -9,8 +9,8 @@ import (
"github.com/r3labs/diff/v2"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/resource"
)
type Change struct {

View File

@ -1,12 +1,12 @@
package analyser
import (
"github.com/cloudskiff/driftctl/pkg/filter"
resourceaws "github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/filter"
resourceaws "github.com/snyk/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/resource"
)
type UnmanagedSecurityGroupRulesAlert struct{}

View File

@ -5,18 +5,18 @@ import (
"io/ioutil"
"testing"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/filter"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/assert"
testresource "github.com/cloudskiff/driftctl/test/resource"
testresource "github.com/snyk/driftctl/test/resource"
"github.com/cloudskiff/driftctl/test/goldenfile"
"github.com/snyk/driftctl/test/goldenfile"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
)

View File

@ -5,7 +5,7 @@ import (
"strings"
"testing"
"github.com/cloudskiff/driftctl/test"
"github.com/snyk/driftctl/test"
"github.com/spf13/cobra"
)

View File

@ -4,10 +4,10 @@ import (
"os"
"strings"
"github.com/cloudskiff/driftctl/build"
"github.com/cloudskiff/driftctl/pkg"
"github.com/cloudskiff/driftctl/sentry"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/build"
"github.com/snyk/driftctl/pkg"
"github.com/snyk/driftctl/sentry"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"

View File

@ -6,9 +6,9 @@ import (
"strings"
"testing"
"github.com/cloudskiff/driftctl/pkg/config"
"github.com/cloudskiff/driftctl/test"
"github.com/cloudskiff/driftctl/test/mocks"
"github.com/snyk/driftctl/pkg/config"
"github.com/snyk/driftctl/test"
"github.com/snyk/driftctl/test/mocks"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
)

View File

@ -7,8 +7,8 @@ import (
"os"
"time"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/spf13/cobra"
)

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/cloudskiff/driftctl/test"
"github.com/snyk/driftctl/test"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View File

@ -9,30 +9,30 @@ import (
"syscall"
"time"
"github.com/cloudskiff/driftctl/build"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/memstore"
"github.com/cloudskiff/driftctl/pkg/remote/common"
"github.com/cloudskiff/driftctl/pkg/telemetry"
"github.com/cloudskiff/driftctl/pkg/terraform/lock"
"github.com/fatih/color"
"github.com/mitchellh/go-homedir"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/build"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/memstore"
"github.com/snyk/driftctl/pkg/remote/common"
"github.com/snyk/driftctl/pkg/telemetry"
"github.com/snyk/driftctl/pkg/terraform/lock"
"github.com/spf13/cobra"
"github.com/cloudskiff/driftctl/pkg"
"github.com/cloudskiff/driftctl/pkg/alerter"
cmderrors "github.com/cloudskiff/driftctl/pkg/cmd/errors"
"github.com/cloudskiff/driftctl/pkg/cmd/scan/output"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/supplier"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
globaloutput "github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/remote"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg"
"github.com/snyk/driftctl/pkg/alerter"
cmderrors "github.com/snyk/driftctl/pkg/cmd/errors"
"github.com/snyk/driftctl/pkg/cmd/scan/output"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/supplier"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
globaloutput "github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/remote"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/terraform"
)
func NewScanCmd(opts *pkg.ScanOptions) *cobra.Command {

View File

@ -9,15 +9,15 @@ import (
"strings"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/remote/alerts"
"github.com/fatih/color"
"github.com/mattn/go-isatty"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/remote/alerts"
"github.com/yudai/gojsondiff"
"github.com/yudai/gojsondiff/formatter"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/resource"
)
const ConsoleOutputType = "console"

View File

@ -8,13 +8,13 @@ import (
"path"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/test/goldenfile"
testresource "github.com/cloudskiff/driftctl/test/resource"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/test/goldenfile"
testresource "github.com/snyk/driftctl/test/resource"
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/analyser"
)
func TestConsole_Write(t *testing.T) {

View File

@ -15,10 +15,10 @@ import (
"time"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/resource"
)
const HTMLOutputType = "html"

View File

@ -6,12 +6,12 @@ import (
"testing"
"time"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/test/goldenfile"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/test/goldenfile"
)
func TestHTML_Write(t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"encoding/json"
"os"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/analyser"
)
const JSONOutputType = "json"

View File

@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/test/goldenfile"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/test/goldenfile"
)
func TestJSON_Write(t *testing.T) {

View File

@ -3,8 +3,8 @@ package output
import (
"sort"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/output"
)
type Output interface {

View File

@ -5,15 +5,15 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/remote/alerts"
"github.com/cloudskiff/driftctl/pkg/remote/common"
remoteerr "github.com/cloudskiff/driftctl/pkg/remote/error"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/pkg/errors"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/remote/alerts"
"github.com/snyk/driftctl/pkg/remote/common"
remoteerr "github.com/snyk/driftctl/pkg/remote/error"
"github.com/snyk/driftctl/pkg/resource"
)
func fakeAnalysis(opts analyser.AnalyzerOptions) *analyser.Analysis {

View File

@ -5,8 +5,8 @@ import (
"fmt"
"os"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/resource"
)
const FormatVersion = "0.1"

View File

@ -8,8 +8,8 @@ import (
"path"
"testing"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/test/goldenfile"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/test/goldenfile"
"github.com/stretchr/testify/assert"
)

View File

@ -5,12 +5,12 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg"
"github.com/cloudskiff/driftctl/pkg/cmd/scan/output"
"github.com/snyk/driftctl/pkg"
"github.com/snyk/driftctl/pkg/cmd/scan/output"
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/test"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/test"
"github.com/spf13/cobra"
)

View File

@ -3,7 +3,7 @@ package cmd
import (
"text/template"
"github.com/cloudskiff/driftctl/pkg/version"
"github.com/snyk/driftctl/pkg/version"
"github.com/spf13/cobra"
)

View File

@ -4,8 +4,8 @@ import (
"fmt"
"testing"
"github.com/cloudskiff/driftctl/pkg/version"
"github.com/cloudskiff/driftctl/test"
"github.com/snyk/driftctl/pkg/version"
"github.com/snyk/driftctl/test"
"github.com/spf13/cobra"
)

View File

@ -4,19 +4,19 @@ import (
"fmt"
"time"
"github.com/cloudskiff/driftctl/pkg/memstore"
globaloutput "github.com/cloudskiff/driftctl/pkg/output"
"github.com/jmespath/go-jmespath"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/memstore"
globaloutput "github.com/snyk/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/cmd/scan/output"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
"github.com/cloudskiff/driftctl/pkg/middlewares"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/cmd/scan/output"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
"github.com/snyk/driftctl/pkg/middlewares"
"github.com/snyk/driftctl/pkg/resource"
)
type ScanOptions struct {

View File

@ -4,19 +4,19 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/analyser"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/memstore"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/resource/github"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/cloudskiff/driftctl/test"
testresource "github.com/cloudskiff/driftctl/test/resource"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/analyser"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/memstore"
"github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource/github"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/snyk/driftctl/test"
testresource "github.com/snyk/driftctl/test/resource"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)

View File

@ -6,9 +6,9 @@ import (
"os"
"strings"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/go-git/go-git/v5/plumbing/format/gitignore"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
)
const separator = "_-_"

View File

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
)
func TestDriftIgnore_IsResourceIgnored(t *testing.T) {

View File

@ -1,6 +1,6 @@
package filter
import "github.com/cloudskiff/driftctl/pkg/resource"
import "github.com/snyk/driftctl/pkg/resource"
type Filter interface {
IsTypeIgnored(ty resource.ResourceType) bool

View File

@ -3,8 +3,8 @@ package filter
import (
"errors"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/jmespath/go-jmespath"
"github.com/snyk/driftctl/pkg/resource"
)
type FilterEngine struct {

View File

@ -5,7 +5,7 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
)
func TestFilterEngine_Run(t *testing.T) {

View File

@ -3,7 +3,7 @@
package filter
import (
resource "github.com/cloudskiff/driftctl/pkg/resource"
resource "github.com/snyk/driftctl/pkg/resource"
mock "github.com/stretchr/testify/mock"
)

View File

@ -4,9 +4,9 @@ import (
"context"
"runtime"
"github.com/cloudskiff/driftctl/pkg/iac"
"github.com/cloudskiff/driftctl/pkg/parallel"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/iac"
"github.com/snyk/driftctl/pkg/parallel"
"github.com/snyk/driftctl/pkg/resource"
)
type IacChainSupplier struct {

View File

@ -4,8 +4,8 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/resource"
)
func TestIacChainSupplier_Resources(t *testing.T) {

View File

@ -3,19 +3,19 @@ package supplier
import (
"fmt"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
"github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state"
"github.com/snyk/driftctl/pkg/iac/terraform/state"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
)
var supportedSuppliers = []string{

View File

@ -5,13 +5,13 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/cloudskiff/driftctl/test/resource"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
"github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/snyk/driftctl/test/resource"
)
func TestGetIACSupplier(t *testing.T) {

View File

@ -5,8 +5,8 @@ import (
"io"
"net/http"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/iac/config"
)
var supportedBackends = []string{

View File

@ -1,9 +1,9 @@
package backend
import (
pkghttp "github.com/cloudskiff/driftctl/pkg/http"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
pkghttp "github.com/snyk/driftctl/pkg/http"
"io"
"net/http"

View File

@ -7,7 +7,7 @@ import (
"strings"
"testing"
pkghttp "github.com/cloudskiff/driftctl/pkg/http"
pkghttp "github.com/snyk/driftctl/pkg/http"
"github.com/stretchr/testify/assert"
)

View File

@ -5,8 +5,8 @@ import (
"strings"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/cloudskiff/driftctl/pkg/envproxy"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/envproxy"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3iface"

View File

@ -8,7 +8,7 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws"
awstest "github.com/cloudskiff/driftctl/test/aws"
awstest "github.com/snyk/driftctl/test/aws"
"github.com/aws/aws-sdk-go/service/s3"

View File

@ -8,9 +8,9 @@ import (
"net/http"
"os"
pkghttp "github.com/cloudskiff/driftctl/pkg/http"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
pkghttp "github.com/snyk/driftctl/pkg/http"
)
const BackendKeyTFCloud = "tfcloud"

View File

@ -5,7 +5,7 @@ import (
"os"
"path/filepath"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/config"
)
type FileEnumeratorConfig struct {

View File

@ -4,7 +4,7 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/stretchr/testify/assert"
)

View File

@ -8,11 +8,11 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3iface"
"github.com/cloudskiff/driftctl/pkg/envproxy"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/envproxy"
"github.com/bmatcuk/doublestar/v4"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/config"
)
type S3Enumerator struct {

View File

@ -8,8 +8,8 @@ import (
awssdk "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/cloudskiff/driftctl/pkg/iac/config"
awstest "github.com/cloudskiff/driftctl/test/aws"
"github.com/snyk/driftctl/pkg/iac/config"
awstest "github.com/snyk/driftctl/test/aws"
"github.com/stretchr/testify/mock"
)

View File

@ -1,9 +1,9 @@
package enumerator
import (
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
)
type StateEnumerator interface {

View File

@ -4,24 +4,24 @@ import (
"fmt"
"strings"
"github.com/cloudskiff/driftctl/pkg/alerter"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/iac"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/terraform/states"
"github.com/hashicorp/terraform/states/statefile"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/alerter"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/iac"
"github.com/snyk/driftctl/pkg/output"
"github.com/zclconf/go-cty/cty"
ctyconvert "github.com/zclconf/go-cty/cty/convert"
ctyjson "github.com/zclconf/go-cty/cty/json"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/backend"
"github.com/cloudskiff/driftctl/pkg/iac/terraform/state/enumerator"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/iac/terraform/state/backend"
"github.com/snyk/driftctl/pkg/iac/terraform/state/enumerator"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/terraform"
)
const TerraformStateReaderSupplier = "tfstate"

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/cloudskiff/driftctl/test"
"github.com/cloudskiff/driftctl/test/acceptance"
"github.com/cloudskiff/driftctl/test/acceptance/awsutils"
"github.com/snyk/driftctl/test"
"github.com/snyk/driftctl/test/acceptance"
"github.com/snyk/driftctl/test/acceptance/awsutils"
)
func TestAcc_StateReader_WithMultipleStatesInDirectory(t *testing.T) {

View File

@ -7,26 +7,26 @@ import (
"strings"
"testing"
"github.com/cloudskiff/driftctl/pkg/filter"
"github.com/cloudskiff/driftctl/pkg/output"
"github.com/cloudskiff/driftctl/pkg/remote/azurerm"
"github.com/cloudskiff/driftctl/pkg/remote/google"
resourceaws "github.com/cloudskiff/driftctl/pkg/resource/aws"
resourceazure "github.com/cloudskiff/driftctl/pkg/resource/azurerm"
resourcegithub "github.com/cloudskiff/driftctl/pkg/resource/github"
resourcegoogle "github.com/cloudskiff/driftctl/pkg/resource/google"
testresource "github.com/cloudskiff/driftctl/test/resource"
terraform2 "github.com/cloudskiff/driftctl/test/terraform"
"github.com/pkg/errors"
"github.com/snyk/driftctl/pkg/filter"
"github.com/snyk/driftctl/pkg/output"
"github.com/snyk/driftctl/pkg/remote/azurerm"
"github.com/snyk/driftctl/pkg/remote/google"
resourceaws "github.com/snyk/driftctl/pkg/resource/aws"
resourceazure "github.com/snyk/driftctl/pkg/resource/azurerm"
resourcegithub "github.com/snyk/driftctl/pkg/resource/github"
resourcegoogle "github.com/snyk/driftctl/pkg/resource/google"
testresource "github.com/snyk/driftctl/test/resource"
terraform2 "github.com/snyk/driftctl/test/terraform"
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/iac/config"
"github.com/cloudskiff/driftctl/pkg/remote/aws"
"github.com/cloudskiff/driftctl/pkg/remote/github"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/cloudskiff/driftctl/test/goldenfile"
"github.com/cloudskiff/driftctl/test/mocks"
"github.com/snyk/driftctl/pkg/iac/config"
"github.com/snyk/driftctl/pkg/remote/aws"
"github.com/snyk/driftctl/pkg/remote/github"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/snyk/driftctl/test/goldenfile"
"github.com/snyk/driftctl/test/mocks"
"github.com/r3labs/diff/v2"
)

View File

@ -5,7 +5,7 @@ import (
"sync"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource"
"github.com/stretchr/testify/assert"
)

View File

@ -3,8 +3,8 @@ package middlewares
import (
"strings"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Create a aws_api_gateway_stage resource from a aws_api_gateway_deployment resource and ignore the latter resource

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
)

View File

@ -3,8 +3,8 @@ package middlewares
import (
"github.com/sirupsen/logrus"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Explodes api gateway default resource found in aws_api_gateway_rest_api.root_resource_id from state resources to dedicated resources

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
)

View File

@ -5,12 +5,12 @@ import (
"strconv"
"strings"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/getkin/kin-openapi/openapi2"
"github.com/getkin/kin-openapi/openapi3"
"github.com/ghodss/yaml"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Explodes api gateway rest api body attribute to dedicated resources as per Terraform documentation (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_rest_api)

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
)

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Explodes policy found in aws_api_gateway_rest_api.policy from state resources to dedicated resources

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
)

View File

@ -3,8 +3,8 @@ package middlewares
import (
"github.com/sirupsen/logrus"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Explodes policy found in aws_s3_bucket.policy from state resources to dedicated resources

View File

@ -6,9 +6,9 @@ import (
awssdk "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
)

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Each API Gateway rest API has by design all the gateway responses available to edit in the console

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsConsoleApiGatewayGatewayResponse_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Each region has a default vpc which has an internet gateway attached and thus the route table of this

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultInternetGatewayRoute_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Each default vpc has an internet gateway attached that should not be seen as unmanaged if not managed by IaC

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultInternetGateway_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default network ACL should not be shown as unmanaged as they are present by default

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default network acl rules should not be shown as unmanaged as they are present by default

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultNetworkACLRule_Execute(t *testing.T) {

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultNetworkACL_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default routes should not be shown as unmanaged as they are present by default

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default route table should not be shown as unmanaged as they are present by default

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultRouteTable_Execute(t *testing.T) {

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultRoute_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Remove default security group rules of the default security group from remote resources

View File

@ -4,8 +4,8 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultSecurityGroupRule_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// SQS queues from AWS have a weird behaviour when we fetch them.

View File

@ -7,8 +7,8 @@ import (
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/r3labs/diff/v2"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaultSQSQueuePolicy_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default subnet should not be shown as unmanaged as they are present by default

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Default VPC should not be shown as unmanaged as they are present by default

View File

@ -3,9 +3,9 @@ package middlewares
import (
"strings"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
const defaultIamRolePathPrefix = "/aws-service-role/"

View File

@ -5,8 +5,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsDefaults_Execute(t *testing.T) {

View File

@ -1,8 +1,8 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
/**

View File

@ -1,8 +1,8 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
/**

View File

@ -5,11 +5,11 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
testresource "github.com/cloudskiff/driftctl/test/resource"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
testresource "github.com/snyk/driftctl/test/resource"
)
func TestIamPolicyAttachmentTransformer_Execute(t *testing.T) {

View File

@ -3,8 +3,8 @@ package middlewares
import (
"github.com/sirupsen/logrus"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// Remove root_block_device from aws_instance resources and create dedicated aws_ebs_volume resources

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/terraform"
"github.com/stretchr/testify/mock"
)

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
type AwsInstanceEIP struct{}

View File

@ -4,8 +4,8 @@ import (
"reflect"
"testing"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsInstanceEIP_Execute(t *testing.T) {

View File

@ -1,9 +1,9 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/sirupsen/logrus"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
type AwsNatGatewayEipAssoc struct{}

View File

@ -5,9 +5,9 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
func TestAwsNatGatewayEipAssoc_Execute(t *testing.T) {

View File

@ -1,8 +1,8 @@
package middlewares
import (
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
)
// This middelware goal is to explode aws_network_acl ingress and egress block into a set of aws_network_acl_rule

View File

@ -5,10 +5,10 @@ import (
"testing"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/cloudskiff/driftctl/pkg/resource"
"github.com/cloudskiff/driftctl/pkg/resource/aws"
"github.com/cloudskiff/driftctl/pkg/terraform"
"github.com/r3labs/diff/v2"
"github.com/snyk/driftctl/pkg/resource"
"github.com/snyk/driftctl/pkg/resource/aws"
"github.com/snyk/driftctl/pkg/terraform"
)
func TestAwsNetworkACLExpander_Execute(t *testing.T) {

Some files were not shown because too many files have changed in this diff Show More