Skip to content

Commit

Permalink
LAMBJ-150 Invalid PhysicalResourceId Error (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
talenfisher committed Feb 8, 2022
1 parent bab91ae commit 8199422
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/releases/v0.9.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Bug Fixes

- Fixes an issue where custom resources would sometimes return an 'Invalid PhysicalResourceId' error.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"markdown.extension.toc.levels": "2..6",
"editor.semanticHighlighting.enabled": true,
"csharp.semanticHighlighting.enabled": true,
"files.exclude": {
"**/.nuget": true,
},
"yaml.customTags": [
"!And",
"!And sequence",
Expand Down
2 changes: 1 addition & 1 deletion src/CustomResource/CustomResourceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class CustomResourceRequest
/// for the requested custom resource.
/// </summary>
/// <value>The physical resource ID of the requested custom resource.</value>
public virtual string PhysicalResourceId { get; set; } = string.Empty;
public virtual string? PhysicalResourceId { get; set; }

/// <summary>
/// Gets or sets the extra properties that appear when deserializing a request to this type.
Expand Down
2 changes: 1 addition & 1 deletion src/CustomResource/CustomResourceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class CustomResourceResponse<TResourceOutputData>
/// Gets or sets the physical resource ID of the requested custom resource.
/// </summary>
/// <value>The physical resource ID of the requested custom resource.</value>
public string PhysicalResourceId { get; set; } = string.Empty;
public string? PhysicalResourceId { get; set; }

/// <summary>
/// Gets or sets the ID of the CloudFormation stack the requested custom resource belongs to.
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.9.1",
"version": "0.9.2",
"publicReleaseRefSpec": [
"^refs/tags/v\\d\\.\\d"
]
Expand Down

0 comments on commit 8199422

Please sign in to comment.