brash-school-3769
07/31/2024, 2:18 PM--- Tfgen & Build SDKs ---
- go: /opt/homebrew/bin/go mod tidy
-> go: /opt/homebrew/bin/go mod tidy
--- failed ---
error: exit status 1:
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Here is my command
upgrade-provider foo/pulumi-foo --upstream-provider-name terraform-provider-foo --upstream-provider-org foo --kind provider
adorable-house-61348
07/31/2024, 3:13 PMbrash-school-3769
07/31/2024, 3:32 PMadorable-house-61348
07/31/2024, 3:35 PMadorable-house-61348
07/31/2024, 3:36 PMGOWORK=off
brash-school-3769
07/31/2024, 4:16 PMbrash-school-3769
07/31/2024, 4:19 PMadorable-house-61348
08/01/2024, 9:52 AMbrash-school-3769
08/01/2024, 12:08 PMadorable-house-61348
08/01/2024, 12:09 PMbrash-school-3769
08/01/2024, 12:18 PMtree -L 2 -a .
.
├── .devcontainer
│ ├── Dockerfile
│ └── devcontainer.json
├── .git
│ ├── COMMIT_EDITMSG
│ ├── FETCH_HEAD
│ ├── HEAD
│ ├── ORIG_HEAD
│ ├── config
│ ├── description
│ ├── hooks
│ ├── index
│ ├── info
│ ├── logs
│ ├── objects
│ ├── packed-refs
│ └── refs
├── .github
│ └── workflows
├── .gitignore
├── .golangci.yml
├── .goreleaser.yml
├── .upgrade-config.yaml
├── CHANGELOG.md
├── CODE-OF-CONDUCT.md
├── CONTRIBUTING.md
├── COPYRIGHT
├── LICENSE
├── Makefile
├── README-DEVELOPMENT.md
├── README.md
├── bin
│ └── pulumi-tfgen-crowdstrike
├── docs
│ ├── _index.md
│ ├── crowdstrike.png
│ └── installation-configuration.md
├── examples
│ └── .gitkeep
├── go.work
├── go.work.sum
├── provider
│ ├── cmd
│ ├── go.mod
│ ├── go.sum
│ ├── pkg
│ ├── resources.go
│ └── shim
└── sdk
├── dotnet
├── go
├── go.mod
├── go.sum
├── nodejs
└── python
brash-school-3769
08/01/2024, 12:20 PMupgrade-provider gtheodorio/pulumi-crowdstrike --upstream-provider-name terraform-provider-crowdstrike --upstream-provider-org crowdstrike --kind provider
adorable-house-61348
08/01/2024, 12:21 PMbrash-school-3769
08/01/2024, 12:21 PMupstream-provider-name: terraform-provider-crowdstrike
upstream-provider-org: crowdstrike
allow-missing-docs: true
adorable-house-61348
08/01/2024, 12:22 PMgo run <http://github.com/pulumi/upgrade-provider@main|github.com/pulumi/upgrade-provider@main> gtheodorio/pulumi-crowdstrike --kind=provider
from the root folder?brash-school-3769
08/01/2024, 12:24 PM--- Set Up Environment ---
- GOWORK=off
- PULUMI_MISSING_DOCS_ERROR=false
- PULUMI_EXTRA_MAPPING_ERROR=true
--- done ---
--- Discover Provider ---
--- Discover Provider ---
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
- Stat
- Validate Repository
- git: /usr/bin/git status --short
- Pull Default Branch
- git: /usr/bin/git ls-remote --heads origin
- Find default Branch: main
- git: /usr/bin/git fetch
- git: /usr/bin/git checkout main
- git: /usr/bin/git pull origin
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
- Stat
- Validate Repository
- git: /usr/bin/git status --short
- Pull Default Branch
- git: /usr/bin/git ls-remote --heads origin
- Find default Branch: main
- git: /usr/bin/git fetch
- git: /usr/bin/git checkout main
- git: /usr/bin/git pull origin
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- GetCwd: /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike
- Repo Exists
- Stat
- Validate Repository
- git: /usr/bin/git status --short
- Pull Default Branch
- git: /usr/bin/git ls-remote --heads origin
- Find default Branch: main
- git: /usr/bin/git fetch
- git: /usr/bin/git checkout main
- git: /usr/bin/git pull origin
- Get Repo Kind
- /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike/provider/go.mod: 13410 bytes read
- Stat
- Stat
- /Users/gtheodorio/Documents/01_projects/pulumi_crowdstrike/gtheodorio-org/pulumi-crowdstrike/provider/shim/go.mod: 2358 bytes read
- Plan Provider Upgrade: 0.0.4 -> 0.0.6
- Get Expected Target
- From Upstream Releases
- gh: /opt/homebrew/bin/gh release list --repo=crowdstrike/terraform-provider-crowdstrike --exclude-drafts --exclude-pre-releases
- Set Current Upstream From Shimmed
- Original Go Version of
- git: /usr/bin/git show main:provider/shim/go.mod
--- done ---
--- Plan Upgrade ---
--- done ---
--- Planning Java Gen Version Update ---
- Fetching latest Java Gen: 0.13.0
- Latest Release Version: of pulumi/pulumi-java: 0.13.0
- gh: /opt/homebrew/bin/gh repo view pulumi/pulumi-java --json=latestRelease
- Stat
- Upgrading Java Gen Version: 0.0.0 -> 0.13.0
--- done ---
--- Setup working branch ---
- Working Branch Name: upgrade-terraform-provider-crowdstrike-to-v0.0.6
- GetEnv: CI=
- Ensure Branch
- git: /usr/bin/git branch
- git: /usr/bin/git checkout -b upgrade-terraform-provider-crowdstrike-to-v0.0.6
- Has Remote Branch: no
- gh: /opt/homebrew/bin/gh pr list --json=title,headRefName
--- done ---
---- Update Repository ----
- Update TF Provider
--- shim ---
- git refs of
- git: /usr/bin/git ls-remote --tags <https://github.com/crowdstrike/terraform-provider-crowdstrike>
--- done ---
- ✓ Lookup Tag SHA: 3eeccbf7215382eb6a83810be87864098c60928b
- ✓ /opt/homebrew/bin/go get <http://github.com/crowdstrike/terraform-provider-crowdstrike@3|github.com/crowdstrike/terraform-provider-crowdstrike@3>...: done
- ✓ /opt/homebrew/bin/go mod tidy: done
--- Tfgen & Build SDKs ---
- go: /opt/homebrew/bin/go mod tidy
-> go: /opt/homebrew/bin/go mod tidy
--- failed ---
error: exit status 1:
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
exit status 1
brash-school-3769
08/01/2024, 12:24 PMadorable-house-61348
08/01/2024, 12:25 PMadorable-house-61348
08/01/2024, 12:26 PMadorable-house-61348
08/01/2024, 12:26 PMbrash-school-3769
08/01/2024, 12:26 PMadorable-house-61348
08/01/2024, 12:26 PMbrash-school-3769
08/01/2024, 12:27 PMbrash-school-3769
08/01/2024, 12:30 PMbrash-school-3769
08/01/2024, 12:30 PMadorable-house-61348
08/01/2024, 12:32 PMadorable-house-61348
08/01/2024, 12:32 PMadorable-house-61348
08/01/2024, 12:32 PMbrash-school-3769
08/01/2024, 12:33 PMadorable-house-61348
08/01/2024, 12:34 PMbrash-school-3769
08/01/2024, 1:04 PMadorable-house-61348
08/01/2024, 1:47 PMadorable-house-61348
08/01/2024, 1:47 PMadorable-house-61348
08/01/2024, 1:48 PMadorable-house-61348
08/01/2024, 1:48 PM