Skip to content

Commit

Permalink
Add @NestedConfigurationProperty to display profile name and path w…
Browse files Browse the repository at this point in the history
…hen configuring application properties (#1109)

Fixes #880
  • Loading branch information
kcsurapaneni authored Mar 27, 2024
1 parent 02c0f97 commit c826648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public class CredentialsProperties {
/**
* The AWS profile.
*/
@NestedConfigurationProperty
@Nullable
private Profile profile;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.awspring.cloud.autoconfigure.core;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;

Expand Down Expand Up @@ -50,6 +51,7 @@ public class RegionProperties {
/**
* The AWS profile.
*/
@NestedConfigurationProperty
@Nullable
private Profile profile;

Expand Down

0 comments on commit c826648

Please sign in to comment.