fix(aws): create the secret before reading it; one staging dir per connect
- Copy-at-connect tries CreateSecret first and reads the current value only when the secret exists, so a first start never reads a missing secret (which the owner-tag condition may refuse). - triple-c-apply-connect: --prepare makes and prints a per-connect nonce dir; the app uploads into it and applies exactly that dir, so concurrent connects never mix files. CA files move to a fixed path so an unchanged CA is not reinstalled. - connect.env parsing kept a trailing '=' (base64 padding) — it was dropped. - Pending-deletion errors from GetSecretValue are reported as such; message and doc-comment fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
820bfab25c
commit
262ea041c8
8 files changed
+299
-112
No files matched your search
@@ -115,6 +115,16 @@ impl WorkspaceApi for Fake {
|
||||
async fn project_secret_value(&self, _n: &str) -> Result<Option<String>, AwsError> {
|
||||
unreachable!()
|
||||
}
|
||||
async fn create_project_secret(
|
||||
&self,
|
||||
n: &str,
|
||||
k: &str,
|
||||
j: &str,
|
||||
t: &[(String, String)],
|
||||
) -> Result<Option<String>, AwsError> {
|
||||
let _ = (n, k, j, t);
|
||||
unreachable!()
|
||||
}
|
||||
async fn delete_project_secret(&self, _n: &str) -> Result<(), AwsError> {
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user