Comments (1)
pulumi new
error: unable to open bucket file:///Users/manderse/code/jbanghub/.github/infrastructure/.state?no_tmp_dir=true: stat /Users/manderse/code/jbanghub/.github/infrastructure/.state: no such file or directory
This is expected. It looks like you did a pulumi login
file//./.state, which logged you into a backend relative to the current working directory. Presumably this
.statedirectory exists somewhere else, but when you switched to your project and tried to use it, the
.state` directory didn't exist relative to that current working directory.
What you want to do is either pulumi login file://<absolute-path
, i.e. pulumi login file:////Users/manderse/.state
or something similar, or just use pulumi login --local
, which will make the login directory in ~/.pulumi
.
We should probably warn users when they use a relative path here, since that's not really expected (or even expand that relative path for them on login). I'm going to label this as an enhancement request, for this bit here.
manderse@goldentiny infrastructure % pulumi new
error: /Users/manderse/code/jbanghub/.github/infrastructure is not empty; rerun in an empty directory, pass the path to an empty directory to --dir, or use --force
This is also expected, since you now no longer have an empty directory. pulumi new
expects an empty directory to make sure it doesn't overwrite any files, unless you use the --force
flag, which seems to have worked in your case.
from pulumi.
Related Issues (20)
- v3.112.0 release blocked on Python package publish HOT 2
- Workflow failure: On Push HOT 2
- Allow destroy to proceed for resources that are dependent on undeletable resources
- Refactor ProgressDisplay to remove circular dependencies and make modes explicit
- Change plugin download and installation to use engine events for progress
- Change policy pack installation to use events to record completion
- unknown provider after upgrading Pulumi urn:pulumi:dev::api::pulumi:providers:aws::default_6_25_0 HOT 8
- Control AWS Lambda Function source code update with custom hash in Dynamic Resource Provider
- Display Fully Qualified Type Names in Go Generated Documentation
- xTransforms does not work to set custom timeouts for awsx.ecs.FargateService HOT 1
- Retrieve stack outputs programatically without running pulumi up
- Azure DevOps pipelines - support colors in pulumi CLI output HOT 2
- pulumi-nodejs: Docker tag 3.112.0 is missing HOT 1
- `pulumi new` half-created a stack
- Example converter adds trailing whitespace HOT 1
- "Error: provider resources may not be read" in Pulumi Inline Program with Automation API
- Support count meta-argument HOT 1
- Panic in pulumi new --ai
- `FileArchive` state does not survive `refresh` operations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi.