Skip to content

Commit

Permalink
adding aws_irs to serverConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
smcaine committed Dec 4, 2024
1 parent 37c7836 commit d144f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions barman/cloud_providers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def get_snapshot_interface(config):
from barman.cloud_providers.aws_s3 import AwsCloudSnapshotInterface

args = [
config.aws_irsa,
config.aws_profile,
config.aws_region,
config.aws_await_snapshots_timeout,
Expand Down Expand Up @@ -251,6 +252,7 @@ def get_snapshot_interface_from_server_config(server_config):
from barman.cloud_providers.aws_s3 import AwsCloudSnapshotInterface

return AwsCloudSnapshotInterface(
server_config.aws_irsa,
server_config.aws_profile,
server_config.aws_region,
server_config.aws_await_snapshots_timeout,
Expand Down
2 changes: 2 additions & 0 deletions barman/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ class ServerConfig(BaseConfig):
"archiver_batch_size",
"autogenerate_manifest",
"aws_await_snapshots_timeout",
"aws_irsa",
"aws_profile",
"aws_region",
"azure_credential",
Expand Down Expand Up @@ -587,6 +588,7 @@ class ServerConfig(BaseConfig):
"archiver_batch_size",
"autogenerate_manifest",
"aws_await_snapshots_timeout",
"aws_irsa",
"aws_profile",
"aws_region",
"azure_credential",
Expand Down

0 comments on commit d144f87

Please sign in to comment.